Kaydet (Commit) c9d7c4a6 authored tarafından Tim Peters's avatar Tim Peters

Added XXX about save()'s special-casing of tuples -- I don't get it.

üst 22987e3c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment