eric5_api.py

branch
Py2 comp.
changeset 3145
a9de05d4a22f
parent 3060
5883ce99ee12
child 3161
06f57a834adf
equal deleted inserted replaced
3144:bb63e24383e4 3145:a9de05d4a22f
10 This is the main Python script of the API generator. It is 10 This is the main Python script of the API generator. It is
11 this script that gets called via the API generation interface. 11 this script that gets called via the API generation interface.
12 This script can be used via the commandline as well. 12 This script can be used via the commandline as well.
13 """ 13 """
14 14
15 from __future__ import unicode_literals # __IGNORE_WARNING__ 15 from __future__ import unicode_literals
16 try: # Only for Py2 16 try: # Only for Py2
17 import sip 17 import sip
18 sip.setapi('QString', 2) 18 sip.setapi('QString', 2)
19 sip.setapi('QVariant', 2) 19 sip.setapi('QVariant', 2)
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__ 20 import Utilities.compatibility_fixes # __IGNORE_WARNING__

eric ide

mercurial