diff --git a/Lib/dbhash.py b/Lib/dbhash.py index 2179c14b3571..601d69b6a224 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: