From 35f08f0f844186f3a3f3a4dd477ea22d589886de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 4 Dec 2010 09:08:10 +0000 Subject: [PATCH] Make script 2-vs-3-agnostic. --- Objects/typeslots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeslots.py b/Objects/typeslots.py index bcc3196bdfe..0e6ef1f9b82 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])