summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py1
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)