[issue7789] Issue using datetime with format()

Eric Smith report at bugs.python.org
Tue Jan 26 21:05:19 CET 2010


Eric Smith <eric at trueblade.com> added the comment:

The documentation for this belongs in the mini-language specification, since that just address built-in types. Each type can define its own format specification language.

So I think adding documentation of __format__ to each non-builtin type that implements __format__ is probably the best way to go.

----------

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


More information about the Python-bugs-list mailing list