diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-28 16:47:59 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-28 16:47:59 (GMT) |
commit | 82ca59e002ff516754e6258513e2d3c07cdd6e71 (patch) | |
tree | fb07b11d0f3549ec903878660af758e7a6fa60ba | |
parent | 13a25fb8e654c181843b99d3121bbf5af5bbd0f3 (diff) | |
download | cpython-82ca59e002ff516754e6258513e2d3c07cdd6e71.zip cpython-82ca59e002ff516754e6258513e2d3c07cdd6e71.tar.gz cpython-82ca59e002ff516754e6258513e2d3c07cdd6e71.tar.bz2 |
save_dict(): Added a comment about the control flow NealN missed.
-rw-r--r-- | Lib/pickle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index c29f2f8..88f03a4 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -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) |