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
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.6 KB
README.rst -rw-r--r-- 4.4 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 7.2 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 56.1 KB
license.rst -rw-r--r-- 46.5 KB
make.bat -rw-r--r-- 5.5 KB
requirements.txt -rw-r--r-- 381 bytes
runtime.txt -rw-r--r-- 3 bytes

README.rst

back to top