diff --git a/Lib/pickle.py b/Lib/pickle.py index 201dc9914bc..2947bd4f7fb 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -830,7 +830,7 @@ def marker(self): return k def persistent_load(self, pid): - raise UnpickingError("unsupported persistent id encountered") + raise UnpicklingError("unsupported persistent id encountered") dispatch = {}