- Timestamp:
- Feb 24, 2016 3:33:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/client/__init__.py
r59798 r59802 46 46 IID_nsISupportsWeakReference, IID_nsIWeakReference, \ 47 47 XPTI_GetInterfaceInfoManager, GetComponentManager, XPTC_InvokeByIndex 48 49 # Python 3 hacks: 50 import sys 51 if sys.version_info[0] >= 3: 52 long = int # pylint: disable=W0622,C0103 48 53 49 54 # Attribute names we may be __getattr__'d for, but know we don't want to delegate … … 223 228 224 229 def __int__(self): 230 if sys.version_info[0] >= 3: 231 return self._do_conversion(_int_interfaces + _long_interfaces, int) 225 232 return self._do_conversion(_int_interfaces, int) 226 233
Note:
See TracChangeset
for help on using the changeset viewer.