summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()