summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-12-02 00:31:49 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-12-02 00:31:49 (GMT)
commit02066d3fbd419066ac1dc03e51ab7412996fa418 (patch)
tree570d25b41a4f78f94c0c5590cb5f96b1e8f8bace /Lib
parent28d271ef6b0eb37e27b5b3234ba146922b11d89f (diff)
downloadcpython-02066d3fbd419066ac1dc03e51ab7412996fa418.zip
cpython-02066d3fbd419066ac1dc03e51ab7412996fa418.tar.gz
cpython-02066d3fbd419066ac1dc03e51ab7412996fa418.tar.bz2
Issue #19754: Fix typo.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pickletools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index a1c3f13..a2480f6 100644
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -2313,7 +2313,7 @@ def optimize(p):
buf.start_framing()
for start, stop, putid in opcodes:
if putid in gets:
- #buf.commit_frame()
+ buf.commit_frame()
buf.write(p[start:stop])
if proto >= 4:
buf.end_framing()