[Georg Brandl] > ... > Reviewing the printf man page, this is okay since for %f, the precision is the > number of digits after the decimal point while for %g, it is the number of > significant digits. Still, that should be documented in the Python manual.
Well, there are a lot of little details in C's formats. Filling in the gaps people happen to notice is one way to proceed; another is to point to external docs for C's rules, like http://www-ccs.ucsd.edu/c/lib_prin.html#Print%20Functions _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com