True
>>> i2() == 0x42
True
- >>> i3() == 042
- True
- >>> i4() == -0x42
+ >>> i3() == -0x42
True
>>> l()
666
import sys
if sys.version_info[0] < 3:
__doc__ = __doc__.replace(u" b'", u" '")
-
-import sys
-if sys.version_info[0] >= 3:
+else:
__doc__ = __doc__.replace(u" 042", u" 0o42")
DEF TUPLE = (1, 2, u"buckle my shoe")
DEF INT0 = -1
DEF INT1 = 42
DEF INT2 = 0x42
-DEF INT3 = 042
-DEF INT4 = -0x42
+DEF INT3 = -0x42
DEF LONG = 666L
DEF FLOAT = 12.5
DEF STR = "spam"
i = INT3
return i
-def i4():
- cdef int i
- i = INT4
- return i
-
def l():
cdef long l
l = LONG