summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-09-10 00:20:05 (GMT)
committerCollin Winter <collinw@gmail.com>2007-09-10 00:20:05 (GMT)
commit6fe2a6c21b4e0afae589da798e2392662fb140d7 (patch)
tree43ea5b6226d9f0eaf3d7d8ac83f8ca7692225e5d /Doc
parentf6b81212559af6fc18b0c282f3d22635c6c3cf35 (diff)
downloadcpython-6fe2a6c21b4e0afae589da798e2392662fb140d7.zip
cpython-6fe2a6c21b4e0afae589da798e2392662fb140d7.tar.gz
cpython-6fe2a6c21b4e0afae589da798e2392662fb140d7.tar.bz2
Fix a legacy raise statement in pickle's docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/pickle.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index dace18a..9bbb1d3 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -592,7 +592,7 @@ Here's a silly example that *might* shed more light::
value = int(persid.split()[2])
return FancyInteger(value)
else:
- raise pickle.UnpicklingError, 'Invalid persistent id'
+ raise pickle.UnpicklingError('Invalid persistent id')
up.persistent_load = persistent_load