Make script 2-vs-3-agnostic.
This commit is contained in:
parent
e8b0d619b9
commit
35f08f0f84
|
@ -21,4 +21,4 @@ for line in sys.stdin:
|
|||
|
||||
M = max(res.keys())+1
|
||||
for i in range(1,M):
|
||||
print "offsetof(PyHeapTypeObject, %s)," % res[i]
|
||||
print("offsetof(PyHeapTypeObject, %s)," % res[i])
|
||||
|
|
Loading…
Reference in New Issue