summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-03 15:40:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-03 15:40:29 (GMT)
commit7daf985febff800015ab428117b82aa92f9ad66c (patch)
tree03d508cc51f2c526f98ca01d2ef92242f7010480
parent73541af85d329045c9778d571cd328e45dc0d6d4 (diff)
downloadcpython-7daf985febff800015ab428117b82aa92f9ad66c.zip
cpython-7daf985febff800015ab428117b82aa92f9ad66c.tar.gz
cpython-7daf985febff800015ab428117b82aa92f9ad66c.tar.bz2
remove unneeded argument
-rw-r--r--Lib/dbhash.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/dbhash.py b/Lib/dbhash.py
index 2179c14..601d69b 100644
--- a/Lib/dbhash.py
+++ b/Lib/dbhash.py
@@ -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: