aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/compile.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-05-30 23:30:57 +0300
committerGitHub <noreply@github.com>2024-05-30 23:30:57 +0300
commitef01e95ae3659015c2ebe4ecdc048aadcda89930 (patch)
tree25ad995975f9fc600a9b3c8bb0030435b30fed6c /Python/compile.c
parentdeda85717b2557c6bad8b9a51719c60ac510818f (diff)
downloadcpython-ef01e95ae3659015c2ebe4ecdc048aadcda89930.tar.gz
cpython-ef01e95ae3659015c2ebe4ecdc048aadcda89930.zip
gh-109218: Deprecate weird cases in the complex() constructor (GH-119620)
* Passing a string as the "real" keyword argument is now an error; it should only be passed as a single positional argument. * Passing a complex number as the "real" or "imag" argument is now deprecated; it should only be passed as a single positional argument.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions