Make script 2-vs-3-agnostic.

This commit is contained in:
Martin v. Löwis 2010-12-04 09:08:10 +00:00
parent e8b0d619b9
commit 35f08f0f84
1 changed files with 1 additions and 1 deletions

View File

@ -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])