Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar

The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
This commit is contained in:
Martin Panter 2016-02-10 05:44:01 +00:00
parent 96a4f07107
commit c04fb56e36
25 changed files with 76 additions and 76 deletions

View file

@ -2500,7 +2500,7 @@ class Checkbutton(Widget):
self.tk.call(self._w, 'toggle')
class Entry(Widget, XView):
"""Entry widget which allows to display simple text."""
"""Entry widget which allows displaying simple text."""
def __init__(self, master=None, cnf={}, **kw):
"""Construct an entry widget with the parent MASTER.
@ -2696,7 +2696,7 @@ class Listbox(Widget, XView, YView):
itemconfig = itemconfigure
class Menu(Widget):
"""Menu widget which allows to display menu bars, pull-down menus and pop-up menus."""
"""Menu widget which allows displaying menu bars, pull-down menus and pop-up menus."""
def __init__(self, master=None, cnf={}, **kw):
"""Construct menu widget with the parent MASTER.