Changing the Division Operator -- PEP 238, rev 1.12
Guido van Rossum
guido at python.org
Fri Jul 27 22:34:57 EDT 2001
cjc26 at nospam.cornell.edu (Cliff Crawford) writes:
> | For complex numbers, // raises an exception, since float() of a
> | complex number is not allowed.
>
> Shouldn't this read, "since floor() of a complex number is not allowed"?
> That would make more sense in context..
Yes. But it's the same difference: floor() of a complex doesn't work
because float() of a complex doesn't work. :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-list
mailing list