mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
Make script 2-vs-3-agnostic.
This commit is contained in:
parent
e8b0d619b9
commit
35f08f0f84
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue