Commit 6fe2a6c2 authored by Collin Winter's avatar Collin Winter

Fix a legacy raise statement in pickle's docs.

parent f6b81212
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment