[Python-Dev] Int literals and method calls

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Nov 16 03:00:53 CET 2004


Delaney, Timothy C (Timothy) wrote:
> All this would just go away if in Python 3.0 (or even earlier ;)
 > floats required something after the decimal point i.e. to get
> '<float 1.0>' you had to type '1.0' and '1.' by itself was a
 > syntax error.

I always write float literals that way anyhow, in the
interests of clarity. So I wouldn't mind if this
happened either.

+0

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-Dev mailing list