diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-28 00:43:26 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-28 00:43:26 (GMT) |
commit | c9d7c4a656592950987f1db31a0871c31705c325 (patch) | |
tree | aa93e669f54fda3d4b8012997c496c7c798ebaab /Lib | |
parent | 22987e3cbdc577aed4290971c08327fa3ab74ae9 (diff) | |
download | cpython-c9d7c4a656592950987f1db31a0871c31705c325.zip cpython-c9d7c4a656592950987f1db31a0871c31705c325.tar.gz cpython-c9d7c4a656592950987f1db31a0871c31705c325.tar.bz2 |
Added XXX about save()'s special-casing of tuples -- I don't get it.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pickle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index 1f551d6..2805dfb 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -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) |