diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-30 20:30:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 20:30:57 (GMT) |
commit | ef01e95ae3659015c2ebe4ecdc048aadcda89930 (patch) | |
tree | 25ad995975f9fc600a9b3c8bb0030435b30fed6c /Lib/test/test_pyrepl/support.py | |
parent | deda85717b2557c6bad8b9a51719c60ac510818f (diff) | |
download | cpython-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