https://github.com/python/cpython
Revision c8db292012dd84aab81eb3ed9146709696a3d290 authored by Miss Islington (bot) on 02 August 2021, 07:08:24 UTC, committed by GitHub on 02 August 2021, 07:08:24 UTC

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>
1 parent b192fb3
History
Tip revision: c8db292012dd84aab81eb3ed9146709696a3d290 authored by Miss Islington (bot) on 02 August 2021, 07:08:24 UTC
bpo-44793: Fix checking the number of arguments when subscribe a generic type with ParamSpec parameter. (GH-27515)
Tip revision: c8db292
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.gitattributes -rw-r--r-- 2.0 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 6.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 71.3 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 9.9 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 505.3 KB
configure.ac -rw-r--r-- 172.9 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 45.2 KB
setup.py -rw-r--r-- 113.0 KB

README.rst

back to top