summaryrefslogtreecommitdiff
path: root/Lib/pickle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 69fc2ccaf7..7d6825fb0b 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -199,7 +199,7 @@ class Pickler:
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