From 75e1f9985aee7b52812140776120e82c103e7e9a Mon Sep 17 00:00:00 2001 From: Guilherme Polo Date: Fri, 14 Aug 2009 14:43:43 +0000 Subject: Clarifying Entry.selection_present's docstring. --- Lib/lib-tk/Tkinter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 11ef441..46b2781 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -2420,7 +2420,8 @@ class Entry(Widget, XView): self.tk.call(self._w, 'selection', 'from', index) select_from = selection_from def selection_present(self): - """Return whether the widget has the selection.""" + """Return True if there are characters selected in the entry, False + otherwise.""" return self.tk.getboolean( self.tk.call(self._w, 'selection', 'present')) select_present = selection_present -- cgit v0.12