question about input() and/or raw_input()

Chris Angelico rosuav at gmail.com
Sun Jan 19 11:38:29 EST 2014


On Mon, Jan 20, 2014 at 3:14 AM, Ethan Furman <ethan at stoneleaf.us> wrote:
>>> --> def quux1(x): return str(x+1)
>> --> quux1(2.3)
>> '3.3'
>
> (Will be) fixed in 3.5 [1]  :)
> [1] Which is to say, both will raise an exception.

Why would that raise?

ChrisA



More information about the Python-list mailing list