Index: Doc/library/datetime.rst =================================================================== --- Doc/library/datetime.rst (revision 83283) +++ Doc/library/datetime.rst (working copy) @@ -265,6 +265,14 @@ | ``abs(t)`` | equivalent to +\ *t* when ``t.days >= 0``, and| | | to -*t* when ``t.days < 0``. (2) | +--------------------------------+-----------------------------------------------+ +| ``str(t)`` | Returns a string in the form | +| | ``[D day[s], [H]H:MM:SS[.UUUUUU]``, where D is| +| | negative for negative ``t``. | ++--------------------------------+-----------------------------------------------+ +| ``repr(t)`` | Returns a string in the form | +| | ``datetime.timedelta(D[, S[, U]])``, where D | +| | is negative for negative ``t``. | ++--------------------------------+-----------------------------------------------+ Notes: