]> granicus.if.org Git - python/commitdiff
Added XXX about save()'s special-casing of tuples -- I don't get it.
authorTim Peters <tim.peters@gmail.com>
Tue, 28 Jan 2003 00:43:26 +0000 (00:43 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 28 Jan 2003 00:43:26 +0000 (00:43 +0000)
Lib/pickle.py

index 1f551d67b07d8e6c9fa89375d9f9f6bc69d37476..2805dfb7d7104c0fde8f2170d010e81815015a2e 100644 (file)
@@ -255,6 +255,7 @@ class Pickler:
 
         t = type(object)
 
+        # XXX Why are tuples a special case here?
         if (t is TupleType) and (len(object) == 0):
             if self.bin:
                 self.save_empty_tuple(object)