[Python-checkins] r79695 - python/trunk/Lib/dbhash.py

benjamin.peterson python-checkins at python.org
Sat Apr 3 17:40:29 CEST 2010


Author: benjamin.peterson
Date: Sat Apr  3 17:40:29 2010
New Revision: 79695

Log:
remove unneeded argument

Modified:
   python/trunk/Lib/dbhash.py

Modified: python/trunk/Lib/dbhash.py
==============================================================================
--- python/trunk/Lib/dbhash.py	(original)
+++ python/trunk/Lib/dbhash.py	Sat Apr  3 17:40:29 2010
@@ -2,8 +2,7 @@
 
 import sys
 import warnings
-warnings.warnpy3k("in 3.x, the dbhash module has been removed",
-                  DeprecationWarning, 2)
+warnings.warnpy3k("in 3.x, the dbhash module has been removed", stackless=2)
 try:
     import bsddb
 except ImportError:


More information about the Python-checkins mailing list