summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/__init__.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-31 11:55:55 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-31 11:55:55 (GMT)
commit69c2ffa3f3203335733761df4dc62eae46e2a1aa (patch)
treeb8ec3065de248ed5902f82eb0e82af64d447d609 /Lib/tkinter/__init__.py
parent78a0f208cc3e09a084df236b2d1bc8131ae06c17 (diff)
downloadcpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.zip
cpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.tar.gz
cpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.tar.bz2
issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r--Lib/tkinter/__init__.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 3770ca9..1558cda 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -2126,14 +2126,14 @@ class Button(Widget):
# Indices:
# XXX I don't like these -- take them away
def AtEnd():
- warnings.warn("tkinter.AtEnd will be removed in 3.5",
- PendingDeprecationWarning, stacklevel=2)
+ warnings.warn("tkinter.AtEnd will be removed in 3.4",
+ DeprecationWarning, stacklevel=2)
return 'end'
def AtInsert(*args):
- warnings.warn("tkinter.AtInsert will be removed in 3.5",
- PendingDeprecationWarning, stacklevel=2)
+ warnings.warn("tkinter.AtInsert will be removed in 3.4",
+ DeprecationWarning, stacklevel=2)
s = 'insert'
for a in args:
if a: s = s + (' ' + a)
@@ -2141,20 +2141,20 @@ def AtInsert(*args):
def AtSelFirst():
- warnings.warn("tkinter.AtSelFirst will be removed in 3.5",
- PendingDeprecationWarning, stacklevel=2)
+ warnings.warn("tkinter.AtSelFirst will be removed in 3.4",
+ DeprecationWarning, stacklevel=2)
return 'sel.first'
def AtSelLast():
- warnings.warn("tkinter.AtSelLast will be removed in 3.5",
- PendingDeprecationWarning, stacklevel=2)
+ warnings.warn("tkinter.AtSelLast will be removed in 3.4",
+ DeprecationWarning, stacklevel=2)
return 'sel.last'
def At(x, y=None):
- warnings.warn("tkinter.At will be removed in 3.5",
- PendingDeprecationWarning, stacklevel=2)
+ warnings.warn("tkinter.At will be removed in 3.4",
+ DeprecationWarning, stacklevel=2)
if y is None:
return '@%r' % (x,)
else: