[issue9430] Document str() and repr() of timedelta.

Alexander Belopolsky 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
components: Documentation
files: datetime.rst.diff
keywords: easy, patch
messages: 112096
nosy: belopolsky, docs at python
priority: normal
severity: normal
status: open
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>
<http://bugs.python.org/issue9430>
_______________________________________


More information about the Python-bugs-list mailing list