]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Ensure that complex() only accepts a string argument as the first arg,
authorFred Drake <fdrake@acm.org>
Thu, 13 Dec 2001 19:52:22 +0000 (19:52 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 13 Dec 2001 19:52:22 +0000 (19:52 +0000)
commit526c7a0101d826fdab8b1ef5a757e1eae351687c
treefe3c026e4862df026da3aa91eba621e19f29877c
parent733c8935f9dfd1be70c472649eb845ea22bbc878
Ensure that complex() only accepts a string argument as the first arg,
and only if there is no second arg.
This closes SF patch #479551.
Doc/lib/libfuncs.tex
Lib/test/test_b1.py
Objects/complexobject.c