E5XML/XMLStreamReaderBase.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a base class for all of eric5s XML stream writers. 7 Module implementing a base class for all of eric5s XML stream writers.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import pickle 12 import pickle
11 import base64 13 import base64
12 14
13 from PyQt4.QtCore import QXmlStreamReader, QCoreApplication 15 from PyQt4.QtCore import QXmlStreamReader, QCoreApplication
23 """ 25 """
24 Constructor 26 Constructor
25 27
26 @param device reference to the I/O device to read from (QIODevice) 28 @param device reference to the I/O device to read from (QIODevice)
27 """ 29 """
28 super().__init__(device) 30 super(XMLStreamReaderBase, self).__init__(device)
29 31
30 def toBool(self, value): 32 def toBool(self, value):
31 """ 33 """
32 Public method to convert the given value to bool. 34 Public method to convert the given value to bool.
33 35

eric ide

mercurial