[Python-Dev] return type of complex (original) (raw)

Serhiy Storchaka storchaka at gmail.com
Sun Oct 21 10:43:30 CEST 2012


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.



More information about the Python-Dev mailing list