diff --git a/Lib/pickle.py b/Lib/pickle.py index 69fc2ccaf78..7d6825fb0b4 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -199,7 +199,7 @@ def __init__(self, file, protocol=None, bin=None): raise ValueError, "can't specify both 'protocol' and 'bin'" if bin is not None: warnings.warn("The 'bin' argument to Pickler() is deprecated", - PendingDeprecationWarning) + DeprecationWarning) protocol = bin if protocol is None: protocol = 0