summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_protocols.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-02 07:08:24 (GMT)
committerGitHub <noreply@github.com>2021-08-02 07:08:24 (GMT)
commitc8db292012dd84aab81eb3ed9146709696a3d290 (patch)
tree0498ea32c9bf6ec748b2b06ad083684210e00317 /Lib/test/test_asyncio/test_protocols.py
parentb192fb3f6a99c33f664e27395ffc0cef4dbc8d29 (diff)
downloadcpython-c8db292012dd84aab81eb3ed9146709696a3d290.zip
cpython-c8db292012dd84aab81eb3ed9146709696a3d290.tar.gz
cpython-c8db292012dd84aab81eb3ed9146709696a3d290.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. (cherry picked from commit f92b9133ef67e77605cbd315b6b6c81036ce110e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_asyncio/test_protocols.py')
0 files changed, 0 insertions, 0 deletions