[Python-Dev] TypeError messages
Victor Stinner
victor.stinner at gmail.com
Sat Feb 21 18:52:44 CET 2015
Le 21 févr. 2015 15:27, "Nick Coghlan" <ncoghlan at gmail.com> a écrit :
> int expected, but found str
> float expected, but found int
>
> 'int' expected, but found 'str'
> 'float' expected, but found 'int'
I would prefer quotes with the word type:
'float' type expected, but got 'int' type
Or no quotes.
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150221/81563c98/attachment.html>
More information about the Python-Dev
mailing list