Updated __init__.py file to works with python 2.x and 3.x

This commit is contained in:
Renato Filho 2011-10-06 11:43:55 -03:00 • committed by Hugo Parente Lima
commit 18383549d6

View file

@ -1,4 +1,8 @@
import sys
__all__ = ['QtCore', 'QtGui', 'QtNetwork', 'QtOpenGL', 'QtSql', 'QtSvg', 'QtTest', 'QtWebKit', 'QtScript'] __all__ = ['QtCore', 'QtGui', 'QtNetwork', 'QtOpenGL', 'QtSql', 'QtSvg', 'QtTest', 'QtWebKit', 'QtScript']
if sys.version_info[0] < 3:
import private import private
__version__ = "@BINDING_API_VERSION_FULL@" __version__ = "@BINDING_API_VERSION_FULL@"