cpython: 7e6beea0eeab (original) (raw)

Mercurial > cpython

changeset 91850:7e6beea0eeab

Issue #22061: Restored empty obsolete methods removed in issue #4350 and added deprecation warnings to them. [#22061]

Serhiy Storchaka storchaka@gmail.com
date Fri, 25 Jul 2014 12:29:40 +0300
parents 9e9e6e9f4cce(current diff)a50297e793f9(diff)
children dd3ecbe1ab26
files Lib/tkinter/__init__.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-)[+] [-] Lib/tkinter/__init__.py 12

line wrap: on

line diff

--- a/Lib/tkinter/init.py +++ b/Lib/tkinter/init.py @@ -419,6 +419,12 @@ class Misc: disabledForeground, insertBackground, troughColor.""" self.tk.call(('tk_setPalette',) + _flatten(args) + _flatten(list(kw.items())))

@@ -2660,6 +2666,12 @@ class Menu(Widget): def tk_popup(self, x, y, entry=""): """Post the menu at position X,Y with entry ENTRY.""" self.tk.call('tk_popup', self._w, x, y, entry)