DeprecationWarning is in the builtin namespace

--HG--
branch : trunk
This commit is contained in:
Benjamin Peterson 2009-08-29 15:08:34 -05:00
parent 711552e84c
commit 7a4bd92e33
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import py, sys
class Warning(py.std.exceptions.DeprecationWarning):
class Warning(DeprecationWarning):
def __init__(self, msg, path, lineno):
self.msg = msg
self.path = path