We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962ad13 commit 24a4e6aCopy full SHA for 24a4e6a
py/_std.py
@@ -15,8 +15,9 @@ def __init__(self):
15
self.__dict__ = sys.modules
16
17
def __getattr__(self, name):
18
- warnings.warn("py.std is deprecated, plase import %s directly" % name,
19
- category=PyStdIsDeprecatedWarning)
+ warnings.warn("py.std is deprecated, please import %s directly" % name,
+ category=PyStdIsDeprecatedWarning,
20
+ stacklevel=2)
21
try:
22
m = __import__(name)
23
except ImportError:
0 commit comments