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.
2 parents b7d276e + 86eb730 commit 5cdc9e1Copy full SHA for 5cdc9e1
1 file changed
Lib/idlelib/idlever.py
@@ -7,6 +7,6 @@
7
"""
8
# Kept for now only for possible existing extension use
9
import warnings as w
10
-w.warn(__doc__, DeprecationWarning)
+w.warn(__doc__, DeprecationWarning, stacklevel=2)
11
from sys import version
12
IDLE_VERSION = version[:version.index(' ')]
0 commit comments