mirror of https://github.com/python/cpython
#6946: fix duplicate index entries for datetime classes.
This commit is contained in:
parent
d25fb2ff1f
commit
592c58d356
|
@ -65,6 +65,7 @@ Available Types
|
||||||
|
|
||||||
|
|
||||||
.. class:: date
|
.. class:: date
|
||||||
|
:noindex:
|
||||||
|
|
||||||
An idealized naive date, assuming the current Gregorian calendar always was, and
|
An idealized naive date, assuming the current Gregorian calendar always was, and
|
||||||
always will be, in effect. Attributes: :attr:`year`, :attr:`month`, and
|
always will be, in effect. Attributes: :attr:`year`, :attr:`month`, and
|
||||||
|
@ -72,6 +73,7 @@ Available Types
|
||||||
|
|
||||||
|
|
||||||
.. class:: time
|
.. class:: time
|
||||||
|
:noindex:
|
||||||
|
|
||||||
An idealized time, independent of any particular day, assuming that every day
|
An idealized time, independent of any particular day, assuming that every day
|
||||||
has exactly 24\*60\*60 seconds (there is no notion of "leap seconds" here).
|
has exactly 24\*60\*60 seconds (there is no notion of "leap seconds" here).
|
||||||
|
@ -80,6 +82,7 @@ Available Types
|
||||||
|
|
||||||
|
|
||||||
.. class:: datetime
|
.. class:: datetime
|
||||||
|
:noindex:
|
||||||
|
|
||||||
A combination of a date and a time. Attributes: :attr:`year`, :attr:`month`,
|
A combination of a date and a time. Attributes: :attr:`year`, :attr:`month`,
|
||||||
:attr:`day`, :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
|
:attr:`day`, :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
|
||||||
|
@ -87,6 +90,7 @@ Available Types
|
||||||
|
|
||||||
|
|
||||||
.. class:: timedelta
|
.. class:: timedelta
|
||||||
|
:noindex:
|
||||||
|
|
||||||
A duration expressing the difference between two :class:`date`, :class:`time`,
|
A duration expressing the difference between two :class:`date`, :class:`time`,
|
||||||
or :class:`datetime` instances to microsecond resolution.
|
or :class:`datetime` instances to microsecond resolution.
|
||||||
|
|
Loading…
Reference in New Issue