summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
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