From d12636de2b6993151f9b71679402f055c390f9ef Mon Sep 17 00:00:00 2001 From: Akuli Date: Mon, 23 May 2022 18:45:40 +0300 Subject: [PATCH] Fix a couple typos in docstrings --- Lib/tkinter/__init__.py | 2 +- Lib/typing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 296320235afddb2..ce3dc85830b571d 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -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 given.""" return self._getints(self.tk.call(self._w, 'coords', value)) diff --git a/Lib/typing.py b/Lib/typing.py index 40ab516f7c8ff7f..759938cf8d46193 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -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. 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