diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-02 06:17:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 06:17:46 (GMT) |
commit | f92b9133ef67e77605cbd315b6b6c81036ce110e (patch) | |
tree | 920ccba9a127a2202109c1ab7c70479d6921544b /Lib/test/test_thread.py | |
parent | 208a7e957b812ad3b3733791845447677a704f3e (diff) | |
download | cpython-f92b9133ef67e77605cbd315b6b6c81036ce110e.zip cpython-f92b9133ef67e77605cbd315b6b6c81036ce110e.tar.gz cpython-f92b9133ef67e77605cbd315b6b6c81036ce110e.tar.bz2 |
bpo-44793: Fix checking the number of arguments when subscribe a generic type with ParamSpec parameter. (GH-27515)
For example Callable[P, T][[int], str, float] will now raise an error.
Use also term "arguments" instead of "parameters" in error
message for too few/many arguments.
Diffstat (limited to 'Lib/test/test_thread.py')
0 files changed, 0 insertions, 0 deletions