Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/tkinter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3525,7 +3525,7 @@ def set(self, value):

def coords(self, value=None):
"""Return a tuple (X,Y) of the point along the centerline of the
trough that corresponds to VALUE or the current value if None is
through that corresponds to VALUE or the current value if None is
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "trough" is correct here.

given."""

return self._getints(self.tk.call(self._w, 'coords', value))
Expand Down
2 changes: 1 addition & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:

@_tp_cache
def __class_getitem__(cls, params):
"""Parameterizes a generic class.
"""Parametrizes a generic class.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to the other PR, there is a "parameterize" two lines below and we should stay consistent.


At least, parameterizing a generic class is the *main* thing this method
does. For example, for some generic class `Foo`, this is called when we
Expand Down