[Python-Dev] Order of operations (was: PEP 238 - The // operator should truncate instead of floor)

Scott Dial scott+python-dev at scottdial.com
Wed Aug 29 21:38:49 CEST 2007


Martin v. Löwis wrote:
>> Do you know why? Thanks!
> 
> I'm not sure why precedence was defined that
> way, though.
> 

Because it is consistent with C's precedence rules.

-Scott

-- 
Scott Dial
scott at scottdial.com
scodial at cs.indiana.edu


More information about the Python-Dev mailing list