summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-31 16:30:28 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-31 16:30:28 (GMT)
commit599174f74dd446244ade913501590d066e70ae99 (patch)
treec72bebc5200f7bc62af8347a055232a595b5bdd7
parent9ab75cbaabd953ba95b2c369dc8ed203bff99c4a (diff)
downloadcpython-599174f74dd446244ade913501590d066e70ae99.zip
cpython-599174f74dd446244ade913501590d066e70ae99.tar.gz
cpython-599174f74dd446244ade913501590d066e70ae99.tar.bz2
Correct a definite typo ('mem' should be 'memo').
-rw-r--r--Lib/pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 33a1e77..f833d86 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -288,7 +288,7 @@ class Pickler:
write(POP_MARK + self.get(memo[d][0]))
return
- write(POP * (len(object) + 1) + self.get(mem[d][0]))
+ write(POP * (len(object) + 1) + self.get(memo[d][0]))
return
memo_len = len(memo)