[Python-Dev] return type of __complex__
Serhiy Storchaka
storchaka at gmail.com
Sun Oct 21 10:43:30 CEST 2012
More information about the Python-Dev mailing list
Sun Oct 21 10:43:30 CEST 2012
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 21.10.12 05:40, Chris Angelico wrote: > Anyway. Py3 says that int/int --> float is > acceptable, so float**float --> complex is equally plausible. The difference is that int/int --> always float, but float**float --> float or complex.
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list