summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 19:10:09 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 19:10:09 (GMT)
commit456b2b8777533ce0edf1690203ee50e6e59d9fab (patch)
tree4ca4f28840790a089abe3fa0aa3a2ce46368d936 /Lib/tkinter
parent65e9c57369af9acb3909057545168f72b7dd5ba5 (diff)
downloadcpython-456b2b8777533ce0edf1690203ee50e6e59d9fab.zip
cpython-456b2b8777533ce0edf1690203ee50e6e59d9fab.tar.gz
cpython-456b2b8777533ce0edf1690203ee50e6e59d9fab.tar.bz2
Issue #14446: Remove deprecated tkinter functions
Thanks to Michael Driscoll
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/__init__.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 8063dd6..917eba4 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -2146,45 +2146,6 @@ class Button(Widget):
"""
return self.tk.call(self._w, 'invoke')
-
-# Indices:
-# XXX I don't like these -- take them away
-def AtEnd():
- 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.4",
- DeprecationWarning, stacklevel=2)
- s = 'insert'
- for a in args:
- if a: s = s + (' ' + a)
- return s
-
-
-def AtSelFirst():
- 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.4",
- DeprecationWarning, stacklevel=2)
- return 'sel.last'
-
-
-def At(x, y=None):
- warnings.warn("tkinter.At will be removed in 3.4",
- DeprecationWarning, stacklevel=2)
- if y is None:
- return '@%r' % (x,)
- else:
- return '@%r,%r' % (x, y)
-
-
class Canvas(Widget, XView, YView):
"""Canvas widget to display graphical elements like lines or text."""
def __init__(self, master=None, cnf={}, **kw):