summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-31 17:00:46 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-31 17:00:46 (GMT)
commitb1062fc9d25a2720bfe5ac26151f69ab5f02ba94 (patch)
tree353ccdbf92388c2b9fbc95002add9d5e0b34c852 /Lib/pickle.py
parent599174f74dd446244ade913501590d066e70ae99 (diff)
downloadcpython-b1062fc9d25a2720bfe5ac26151f69ab5f02ba94.zip
cpython-b1062fc9d25a2720bfe5ac26151f69ab5f02ba94.tar.gz
cpython-b1062fc9d25a2720bfe5ac26151f69ab5f02ba94.tar.bz2
Correct dumb typo found by kjpylint (stack should be self.stack).
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py2
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):