diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pickle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index f833d86..a5f4b29 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -693,7 +693,7 @@ class Unpickler: dispatch[POP_MARK] = load_pop_mark def load_dup(self): - self.append(stack[-1]) + self.append(self.stack[-1]) dispatch[DUP] = load_dup def load_get(self): |