Author soummyaah
Recipients berker.peksag, manishearth, mark.dickinson, serhiy.storchaka, soummyaah
Date 2016-09-20.12:03:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474372989.66.0.695899044743.issue28203@psf.upfronthosting.co.za>
In-reply-to
Content
Changed error message to:

>>> complex({1:2},1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: complex() first arg must be a string or a number, not 'dict'

>>> complex(1j, {1: 2})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: complex() second arg must be a number, not 'dict'

Added tests to check the error raised.
History
Date User Action Args
2016-09-20 12:03:09soummyaahsetrecipients: + soummyaah, mark.dickinson, berker.peksag, serhiy.storchaka, manishearth
2016-09-20 12:03:09soummyaahsetmessageid: <1474372989.66.0.695899044743.issue28203@psf.upfronthosting.co.za>
2016-09-20 12:03:09soummyaahlinkissue28203 messages
2016-09-20 12:03:09soummyaahcreate