New syntax for blocks

greg greg at cosc.canterbury.ac.nz
Wed Nov 18 00:22:44 EST 2009


MRAB wrote:

> Fortran uses "=" and ".EQ.", probably because (some) earlier autocodes
> did.

I think Fortran used .LT. and .GT. because some early character
sets didn't have < and > symbols. Having done that, it
probably seemed more consistent to use .EQ. for comparison
than to break the pattern and use =.

-- 
Greg



More information about the Python-list mailing list