summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-04 09:08:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-12-04 09:08:10 (GMT)
commit35f08f0f844186f3a3f3a4dd477ea22d589886de (patch)
tree0dcb659c05766b245a84da6de9e2258967e15ee4 /Objects
parente8b0d619b9363ac91730df5506b891fa03316f31 (diff)
downloadcpython-35f08f0f844186f3a3f3a4dd477ea22d589886de.zip
cpython-35f08f0f844186f3a3f3a4dd477ea22d589886de.tar.gz
cpython-35f08f0f844186f3a3f3a4dd477ea22d589886de.tar.bz2
Make script 2-vs-3-agnostic.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeslots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeslots.py b/Objects/typeslots.py
index bcc3196..0e6ef1f 100644
--- a/Objects/typeslots.py
+++ b/Objects/typeslots.py
@@ -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])