diff --git a/Lib/pickle.py b/Lib/pickle.py index 1d14ed35c07..91236e91ac4 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -488,7 +488,6 @@ class Pickler: if str(err) != ("a class that defines __slots__ " "without defining __getstate__ " "cannot be pickled"): - print repr(str(err)) raise # Not that specific exception getstate = None