From c9d7c4a656592950987f1db31a0871c31705c325 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 28 Jan 2003 00:43:26 +0000 Subject: [PATCH] Added XXX about save()'s special-casing of tuples -- I don't get it. --- Lib/pickle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/pickle.py b/Lib/pickle.py index 1f551d67b07..2805dfb7d71 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)