mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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:
parent
96a4f07107
commit
c04fb56e36
25 changed files with 76 additions and 76 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue