summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/support.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-05-30 20:30:57 (GMT)
committerGitHub <noreply@github.com>2024-05-30 20:30:57 (GMT)
commitef01e95ae3659015c2ebe4ecdc048aadcda89930 (patch)
tree25ad995975f9fc600a9b3c8bb0030435b30fed6c /Lib/test/test_pyrepl/support.py
parentdeda85717b2557c6bad8b9a51719c60ac510818f (diff)
downloadcpython-ef01e95ae3659015c2ebe4ecdc048aadcda89930.zip
cpython-ef01e95ae3659015c2ebe4ecdc048aadcda89930.tar.gz
cpython-ef01e95ae3659015c2ebe4ecdc048aadcda89930.tar.bz2
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 'Lib/test/test_pyrepl/support.py')
0 files changed, 0 insertions, 0 deletions