diff options
author | Guido van Rossum <guido@python.org> | 2007-02-09 23:27:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-02-09 23:27:01 (GMT) |
commit | 96bf7e8a37b0785b6fed2e678e289a6b1873f07f (patch) | |
tree | 1ae1603ee285ff32f0be922dc5722d2225a509ea /Tools/freeze/makefreeze.py | |
parent | 79139b247b0bc0bc1b1a12932140bbd4bc188df7 (diff) | |
download | cpython-96bf7e8a37b0785b6fed2e678e289a6b1873f07f.zip cpython-96bf7e8a37b0785b6fed2e678e289a6b1873f07f.tar.gz cpython-96bf7e8a37b0785b6fed2e678e289a6b1873f07f.tar.bz2 |
Fix test_frozen.
Diffstat (limited to 'Tools/freeze/makefreeze.py')
-rw-r--r-- | Tools/freeze/makefreeze.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/freeze/makefreeze.py b/Tools/freeze/makefreeze.py index 1208b67..e359db9 100644 --- a/Tools/freeze/makefreeze.py +++ b/Tools/freeze/makefreeze.py @@ -43,7 +43,7 @@ def makefreeze(base, dict, debug=0, entry_point=None, fail_import=()): outfp = bkfile.open(base + file, 'w') files.append(file) if debug: - print "freezing", mod, "..." + print("freezing", mod, "...") str = marshal.dumps(m.__code__) size = len(str) if m.__path__: @@ -53,7 +53,7 @@ def makefreeze(base, dict, debug=0, entry_point=None, fail_import=()): writecode(outfp, mangled, str) outfp.close() if debug: - print "generating table of frozen modules" + print("generating table of frozen modules") outfp = bkfile.open(base + 'frozen.c', 'w') for mod, mangled, size in done: outfp.write('extern unsigned char M_%s[];\n' % mangled) |