Kaydet (Commit) 82ca59e0 authored tarafından Tim Peters's avatar Tim Peters

save_dict(): Added a comment about the control flow NealN missed.

üst 13a25fb8
......@@ -561,7 +561,8 @@ class Pickler:
save(value)
write(SETITEMS)
return
# else (dict is empty or a singleton), fall through to the
# SETITEM code at the end
else: # proto 0 -- can't use EMPTY_DICT or SETITEMS
write(MARK + DICT)
self.memoize(obj)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment