[Python-checkins] cpython (merge 3.5 -> default): Merge with 3.5

terry.reedy python-checkins at python.org
Sun Sep 20 08:35:08 CEST 2015


https://hg.python.org/cpython/rev/5e341ec3248f
changeset:   98082:5e341ec3248f
parent:      98077:f08d56387982
parent:      98081:594d3db80d04
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sun Sep 20 02:34:51 2015 -0400
summary:
  Merge with 3.5

files:
  Lib/idlelib/idlever.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/idlever.py b/Lib/idlelib/idlever.py
--- a/Lib/idlelib/idlever.py
+++ b/Lib/idlelib/idlever.py
@@ -7,6 +7,6 @@
 """
 # Kept for now only for possible existing extension use
 import warnings as w
-w.warn(__doc__, DeprecationWarning)
+w.warn(__doc__, DeprecationWarning, stacklevel=2)
 from sys import version
 IDLE_VERSION = version[:version.index(' ')]

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list