[Python-checkins] python/dist/src/Lib pickle.py,1.111,1.112

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 28 Jan 2003 08:48:02 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv31939/Lib

Modified Files:
	pickle.py 
Log Message:
save_dict():  Added a comment about the control flow NealN missed.


Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** pickle.py	28 Jan 2003 16:42:22 -0000	1.111
--- pickle.py	28 Jan 2003 16:47:59 -0000	1.112
***************
*** 562,566 ****
                  write(SETITEMS)
                  return
! 
          else:   # proto 0 -- can't use EMPTY_DICT or SETITEMS
              write(MARK + DICT)
--- 562,567 ----
                  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)