Skip to content

Commit bddce2d

Browse files
KentaroJaypicnixz
andcommitted
Fix
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 0594cd5 commit bddce2d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/datetime.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,8 @@ A :class:`timedelta` object represents a duration, the difference between two
261261
>>> (d.days, d.seconds, d.microseconds)
262262
(-1, 86399, 999999)
263263

264-
Negative :class:`!timedelta` objects can display in a way that may be
265-
confusing. Here's a recipe for displaying both positive and negative
266-
:class:`!timedelta` objects in a more readable format:
264+
The string representation of :class:`!timedelta` objects can be confusing,
265+
but the following recipe can be used to produce a more readable format:
267266

268267
.. code-block:: pycon
269268

0 commit comments

Comments
 (0)