[issue29526] Documenting format() function

Eric V. Smith report at bugs.python.org
Fri Feb 10 09:46:03 EST 2017


Eric V. Smith added the comment:

Since these codes don't apply to all types, you'll need some words saying what they do apply to. For example, None being the same as "g" is true for int, float, and Decimal; but None is "s" for strings.

And, for example, none of the listed codes apply to datetime's.

I'm +0 on this if we can get the wording right.

----------
nosy: +eric.smith
versions:  -Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29526>
_______________________________________


More information about the Python-bugs-list mailing list