Thanks to visit codestin.com Credit goes to github.com
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 926be1b + c37c49f commit 86eb730Copy full SHA for 86eb730
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