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

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 28 Jan 2003 08:58:43 -0800


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

Modified Files:
	pickle.py 
Log Message:
save_empty_tuple():  Comment on why we can't get rid of this.


Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** pickle.py	28 Jan 2003 16:47:59 -0000	1.112
--- pickle.py	28 Jan 2003 16:58:41 -0000	1.113
***************
*** 516,519 ****
--- 516,522 ----
      dispatch[TupleType] = save_tuple
  
+     # save_empty_tuple() isn't used by anything in Python 2.3.  However, I
+     # found a Pickler subclass in Zope3 that calls it, so it's not harmless
+     # to remove it.
      def save_empty_tuple(self, obj):
          self.write(EMPTY_TUPLE)