Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ systems.

.. class:: date(year, month, day)

All arguments are required. Arguments may be integers, in the following
All arguments are required. Arguments must be integers in the following
ranges:

* ``MINYEAR <= year <= MAXYEAR``
Expand Down Expand Up @@ -707,7 +707,7 @@ Constructor:
.. class:: datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0)

The year, month and day arguments are required. *tzinfo* may be ``None``, or an
instance of a :class:`tzinfo` subclass. The remaining arguments may be integers,
instance of a :class:`tzinfo` subclass. The remaining arguments must be integers
in the following ranges:

* ``MINYEAR <= year <= MAXYEAR``,
Expand Down Expand Up @@ -1422,7 +1422,7 @@ day, and subject to adjustment via a :class:`tzinfo` object.
.. class:: time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0)

All arguments are optional. *tzinfo* may be ``None``, or an instance of a
:class:`tzinfo` subclass. The remaining arguments may be integers, in the
:class:`tzinfo` subclass. The remaining arguments must be integers in the
following ranges:

* ``0 <= hour < 24``,
Expand Down