PEP 308: A PEP Writer's Experience - PRO

Erik Max Francis max at alcyone.com
Tue Feb 11 09:25:28 CET 2003


Tim Peters wrote:

> I like it best as
> 
>     self.stream.writeln("Ran %d in %.3fs" % (run, timeTaken))
> 
> It's unittest -- of course it's running tests <0.6 wink>.

I like

	self.stream.writeln("Ran %d in %.3f s" % (run, timeTaken))

better.  Conforms to NIST SI guidelines :-).

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ I always entertain great hopes.
\__/ Robert Frost
    REALpolitik / http://www.realpolitik.com/
 Get your own customized newsfeed online in realtime ... for free!




More information about the Python-list mailing list