[New-bugs-announce] [issue9430] Document str() and repr() of timedelta.
report at bugs.python.org
Fri Jul 30 20:57:56 CEST 2010
New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:
Attaching a tentative patch. I think it is better to document these as operations rather than special methods. It may need to be clarified that "-2 days, 0:00:22" is timedelta(-2, 22) rather than -timedelta(2, 22), but I cannot come up with anything short enough for the ops table. Maybe this should be done in a footnote.
assignee: docs at python
keywords: easy, patch
nosy: belopolsky, docs at python
title: Document str() and repr() of timedelta.
versions: Python 3.2
Added file: http://bugs.python.org/file18274/datetime.rst.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce