diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-28 16:58:41 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-28 16:58:41 (GMT) |
commit | a6ae9a2128a85301ded9381c181539720ce82ca0 (patch) | |
tree | 0ee2192aa88563de144c955f55f654b7cd285c00 | |
parent | 82ca59e002ff516754e6258513e2d3c07cdd6e71 (diff) | |
download | cpython-a6ae9a2128a85301ded9381c181539720ce82ca0.zip cpython-a6ae9a2128a85301ded9381c181539720ce82ca0.tar.gz cpython-a6ae9a2128a85301ded9381c181539720ce82ca0.tar.bz2 |
save_empty_tuple(): Comment on why we can't get rid of this.
-rw-r--r-- | Lib/pickle.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index 88f03a4..1b364c6 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -515,6 +515,9 @@ class Pickler: 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) |