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

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


https://hg.python.org/cpython/rev/594d3db80d04
changeset:   98081:594d3db80d04
branch:      3.5
parent:      98076:138bbb7cf612
parent:      98080:048fce602bcd
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sun Sep 20 02:34:20 2015 -0400
summary:
  Merge with 3.4

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