Skip to content

Commit aef911c

Browse files
committed
Updates based on PR review
1 parent ba7c5cd commit aef911c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/datetime.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Available Types
114114
:noindex:
115115

116116
An idealized time, independent of any particular day, assuming that every day
117-
has exactly ``24 * 60 * 60`` seconds. (There is no notion of "leap seconds" here.)
117+
has exactly ``24*60*60`` seconds. (There is no notion of "leap seconds" here.)
118118
Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
119119
and :attr:`.tzinfo`.
120120

@@ -213,10 +213,10 @@ A :class:`timedelta` object represents a duration, the difference between two
213213
Only *days*, *seconds* and *microseconds* are stored internally.
214214
Arguments are converted to those units:
215215

216-
* A *millisecond* is converted to ``1000`` *microseconds*.
217-
* A *minute* is converted to ``60`` *seconds*.
218-
* An *hour* is converted to ``3600`` *seconds*.
219-
* A *week* is converted to ``7`` *days*.
216+
* A *millisecond* is converted to 1000 *microseconds*.
217+
* A *minute* is converted to 60 *seconds*.
218+
* An *hour* is converted to 3600 *seconds*.
219+
* A *week* is converted to 7 *days*.
220220

221221
and days, seconds and microseconds are then normalized so that the
222222
representation is unique, with
@@ -1740,7 +1740,7 @@ day, and subject to adjustment via a :class:`tzinfo` object.
17401740
* ``fold in [0, 1]``.
17411741

17421742
If an argument outside those ranges is given, :exc:`ValueError` is raised. All
1743-
default to ``0`` except *tzinfo*, which defaults to ``None``.
1743+
default to ``0`` except *tzinfo*, which defaults to :const:`None`.
17441744

17451745
Class attributes:
17461746

0 commit comments

Comments
 (0)