summaryrefslogtreecommitdiffstats
path: root/PCbuild/field3.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-30 18:39:28 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-30 18:39:28 (GMT)
commite7bf59f500481715e76ff646f6728e28361faff2 (patch)
tree3f3dcd530272bb5be36089c3f2f3345ee373012f /PCbuild/field3.py
parent716c3ac40cae880193dfdbda39a0ca7ed7cd2854 (diff)
downloadcpython-e7bf59f500481715e76ff646f6728e28361faff2.zip
cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.gz
cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.bz2
Run 2to3's print fixer over some places that had been missed.
Diffstat (limited to 'PCbuild/field3.py')
-rw-r--r--PCbuild/field3.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/PCbuild/field3.py b/PCbuild/field3.py
index 47f24ca..edcbe36 100644
--- a/PCbuild/field3.py
+++ b/PCbuild/field3.py
@@ -22,14 +22,14 @@ levelnum = {'alpha': 0xA,
}[level]
string = sys.version.split()[0] # like '2.3a0'
-print " * For %s," % string
-print " * PY_MICRO_VERSION = %d" % micro
-print " * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum))
-print " * PY_RELEASE_SERIAL = %d" % serial
-print " *"
+print(" * For %s," % string)
+print(" * PY_MICRO_VERSION = %d" % micro)
+print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
+print(" * PY_RELEASE_SERIAL = %d" % serial)
+print(" *")
field3 = micro * 1000 + levelnum * 10 + serial
-print " * and %d*1000 + %d*10 + %d = %d" % (micro, levelnum, serial, field3)
-print " */"
-print "#define FIELD3", field3
+print(" * and %d*1000 + %d*10 + %d = %d" % (micro, levelnum, serial, field3))
+print(" */")
+print("#define FIELD3", field3)