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

This commit is contained in:
Tim Peters 2003-01-28 16:47:59 +00:00
parent 13a25fb8e6
commit 82ca59e002
1 changed files with 2 additions and 1 deletions

View File

@ -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)