Message287547
I think it would be worth to extend docstrings of __format__ methods of concrete types for including the description of type-specific format specifiers. But the docstring of format() shouldn't contain the description of format specifiers of all builtin types.
Detailed documentation of format specification mini-language with tables and examples you can get by requesting the help for FORMATTING. "help('FORMATTING')" or "pydoc3 FORMATTING". It may be worth to add a reference to FORMATTING from the format() docstring. |
|
Date |
User |
Action |
Args |
2017-02-10 15:19:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.smith, r.david.murray, hugo.prodhomme@gmx.fr |
2017-02-10 15:19:58 | serhiy.storchaka | set | messageid: <1486739998.36.0.0857610721998.issue29526@psf.upfronthosting.co.za> |
2017-02-10 15:19:58 | serhiy.storchaka | link | issue29526 messages |
2017-02-10 15:19:58 | serhiy.storchaka | create | |
|