Soumya Sharma added the comment:
Contains changes made to Objects/complexobject.c
Changed the error message returned when second argument of complex() is not
number/string
Originally:
>complex(1j,{1:2})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: complex() argument must be a string or a number, not 'complex'
After patch:
>complex(1j,{1:2})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: complex() argument must be a string or a number, not 'dict'
----------
hgrepos: +356
keywords: +patch
nosy: +soummyaah
Added file: http://bugs.python.org/file44745/Issue28203.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com