diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2023-05-09 19:18:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 19:18:15 (GMT) |
commit | 01c321ca34d99f35f174768c6f8c500801d4ef4c (patch) | |
tree | c3bed83dff2607132c1651bf025743622bae0642 | |
parent | 2866e030f01dc3ff08de32857fa77d52468b676b (diff) | |
download | cpython-01c321ca34d99f35f174768c6f8c500801d4ef4c.zip cpython-01c321ca34d99f35f174768c6f8c500801d4ef4c.tar.gz cpython-01c321ca34d99f35f174768c6f8c500801d4ef4c.tar.bz2 |
gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (#104335)
-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 0dacdd9..4f8cba8 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -1896,7 +1896,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) |