diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-09 19:42:57 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-09 19:42:57 (GMT) |
| commit | 663b32199e709a83b2eebc3eeeb602f0af949bee (patch) | |
| tree | 348f627fb3155f16e12543e1088971eee297dd3c /Lib/typing.py | |
| parent | 4ed59b1f330ca97b9f0b5567485283df24175fe4 (diff) | |
| download | cpython-663b32199e709a83b2eebc3eeeb602f0af949bee.zip cpython-663b32199e709a83b2eebc3eeeb602f0af949bee.tar.gz cpython-663b32199e709a83b2eebc3eeeb602f0af949bee.tar.bz2 | |
[3.11] gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (GH-104335) (#104338)
gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (GH-104335)
(cherry picked from commit 01c321ca34d99f35f174768c6f8c500801d4ef4c)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Lib/typing.py')
| -rw-r--r-- | Lib/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index 2db3540..921542f 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -1860,7 +1860,7 @@ class Generic: base.__origin__ is Generic): if gvars is not None: raise TypeError( - "Cannot inherit from Generic[...] multiple types.") + "Cannot inherit from Generic[...] multiple times.") gvars = base.__parameters__ if gvars is not None: tvarset = set(tvars) |
