From dc54f2be3f718cdd5208894b0d763d62f43ea3a5 Mon Sep 17 00:00:00 2001
From: "Andrew M. Kuchling" <amk@amk.ca>
Date: Sat, 7 Aug 2004 16:27:24 +0000
Subject: Make 'bin' argument trigger DeprecationWarning

---
 Lib/pickle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Lib/pickle.py b/Lib/pickle.py
index 69fc2cc..7d6825f 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
-- 
cgit v0.12

