Heikki Partanen added the comment:
Added documentation for __format__ for datetime, time and date, and also added
example code for using string.format. Seemed to merge cleanly to 3.4 and 2.7.
--
keywords: +patch
nosy: +heikki.partanen
Added file: http://bugs.python.org/file27684
Heikki Partanen added the comment:
Thanks for the comments, Eric!
I reworded the docs and improved the examples too (being stuck in 2.6 I didn't
even know about the cool autonumbering :)
--
Added file: http://bugs.python.org/file27782/issue8913-2.
Heikki Partanen added the comment:
Grammar fixed
--
Added file: http://bugs.python.org/file27791/issue8913-3.patch
___
Python tracker
<http://bugs.python.org/issue8
Heikki Partanen added the comment:
Improved the datetime example to have time part
--
Added file: http://bugs.python.org/file29663/issue8913-4.patch
___
Python tracker
<http://bugs.python.org/issue8
Heikki Partanen added the comment:
The examples in the previous patches were trying to show some "real-worldish"
use cases, but I admit that they don't fit in that well to the existing
examples shown in the docs.
The new examples Ezio suggested are more straightforward and