Commit Graph

17 Commits

Author SHA1 Message Date
Georg Brandl 6cbb7f945a #7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such. 2010-01-17 08:42:30 +00:00
Antoine Pitrou e236c3c8c2 Forgot to add a `versionadded` tag 2009-11-25 23:03:22 +00:00
Antoine Pitrou bcfaf8007d Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration.  Patch by Brian Quinlan.
2009-11-25 22:59:36 +00:00
Mark Dickinson 5b54432b1d Fix doc typo reported by Arfrever. 2009-11-03 16:26:14 +00:00
Skip Montanaro 6418577bb5 typo (space-o?) 2009-11-03 02:43:59 +00:00
Georg Brandl 5ffa146fde Fix markup. 2009-10-13 18:10:59 +00:00
Georg Brandl 592c58d356 #6946: fix duplicate index entries for datetime classes. 2009-09-19 10:42:34 +00:00
R. David Murray d56bab47f1 Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.

Closes issue 2568.
2009-04-02 04:34:04 +00:00
Brett Cannon 8aa2c6ce8e Minor spelling mistake in datetime docs. 2009-01-29 00:54:32 +00:00
Georg Brandl af9a97b245 #4923: clarify what was added. 2009-01-18 14:41:52 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Georg Brandl 3f04303ba4 Test doctests in datetime docs. 2008-03-22 21:21:57 +00:00
Skip Montanaro fc070d2731 add %f format to datetime - issue 1158 2008-03-15 16:04:45 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Georg Brandl e40a6a85ee Add examples to the datetime documentation. Written for GHOP by "h4wk.cz". 2007-12-08 11:23:13 +00:00
Georg Brandl 7c3e79f67f Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
I hope the concept of hashability is better understandable now.
Thanks to Tim Hatch for pointing out the flaws here.
2007-11-02 20:06:17 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00