Commit 6e5b8ea8 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove unused variable class_tuple.

parent 0f3e316b
...@@ -38,10 +38,8 @@ def state(self, oid, serial, prfactory, p=''): ...@@ -38,10 +38,8 @@ def state(self, oid, serial, prfactory, p=''):
file = StringIO(p) file = StringIO(p)
unpickler = Unpickler(file) unpickler = Unpickler(file)
unpickler.persistent_load = prfactory.persistent_load unpickler.persistent_load = prfactory.persistent_load
class_tuple = unpickler.load() unpickler.load() # skip the class tuple
state = unpickler.load() return unpickler.load()
return state
class PersistentReference: class PersistentReference:
......
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