From: Martin v. Löwis Date: Sat, 4 Dec 2010 09:08:10 +0000 (+0000) Subject: Make script 2-vs-3-agnostic. X-Git-Tag: v3.2b1~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35f08f0f844186f3a3f3a4dd477ea22d589886de;p=thirdparty%2FPython%2Fcpython.git Make script 2-vs-3-agnostic. --- diff --git a/Objects/typeslots.py b/Objects/typeslots.py index bcc3196bdfec..0e6ef1f9b82d 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])