Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ca59e commit a6ae9a2Copy full SHA for a6ae9a2
1 file changed
Lib/pickle.py
@@ -515,6 +515,9 @@ def save_tuple(self, obj):
515
516
dispatch[TupleType] = save_tuple
517
518
+ # save_empty_tuple() isn't used by anything in Python 2.3. However, I
519
+ # found a Pickler subclass in Zope3 that calls it, so it's not harmless
520
+ # to remove it.
521
def save_empty_tuple(self, obj):
522
self.write(EMPTY_TUPLE)
523
0 commit comments