mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
save_dict(): Added a comment about the control flow NealN missed.
This commit is contained in:
parent
13a25fb8e6
commit
82ca59e002
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue