| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1664,7 +1664,7 @@ Usage of ``KabulTz`` from above:: | |||
| 1664 | 1664 | :class:`.time` Objects | |
| 1665 | 1665 | ---------------------- | |
| 1666 | 1666 | ||
| 1667 | - A :class:`time` object represents a (local) time of day, independent of any particular | ||
| 1667 | + A :class:`.time` object represents a (local) time of day, independent of any particular | ||
| 1668 | 1668 | day, and subject to adjustment via a :class:`tzinfo` object. | |
| 1669 | 1669 | ||
| 1670 | 1670 | .. class:: time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0) | |
@@ -2497,7 +2497,7 @@ information, which are supported in ``datetime.strptime`` but are discarded by | |||
| 2497 | 2497 | ``time.strptime``. | |
| 2498 | 2498 | ||
| 2499 | 2499 | For :class:`.time` objects, the format codes for year, month, and day should not | |
| 2500 | - be used, as :class:`time` objects have no such values. If they're used anyway, | ||
| 2500 | + be used, as :class:`!time` objects have no such values. If they're used anyway, | ||
| 2501 | 2501 | ``1900`` is substituted for the year, and ``1`` for the month and day. | |
| 2502 | 2502 | ||
| 2503 | 2503 | For :class:`date` objects, the format codes for hours, minutes, seconds, and | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1027,8 +1027,8 @@ When a :class:`!MaildirMessage` instance is created based upon a | |||
| 1027 | 1027 | leading "From " or trailing newline. For convenience, *time_* may be | |
| 1028 | 1028 | specified and will be formatted appropriately and appended to *from_*. If | |
| 1029 | 1029 | *time_* is specified, it should be a :class:`time.struct_time` instance, a | |
| 1030 | - tuple suitable for passing to :meth:`time.strftime`, or ``True`` (to use | ||
| 1031 | - :meth:`time.gmtime`). | ||
| 1030 | + tuple suitable for passing to :func:`time.strftime`, or ``True`` (to use | ||
| 1031 | + :func:`time.gmtime`). | ||
| 1032 | 1032 | ||
| 1033 | 1033 | ||
| 1034 | 1034 | .. method:: get_flags() | |
@@ -1399,8 +1399,8 @@ When a :class:`!BabylMessage` instance is created based upon an | |||
| 1399 | 1399 | leading "From " or trailing newline. For convenience, *time_* may be | |
| 1400 | 1400 | specified and will be formatted appropriately and appended to *from_*. If | |
| 1401 | 1401 | *time_* is specified, it should be a :class:`time.struct_time` instance, a | |
| 1402 | - tuple suitable for passing to :meth:`time.strftime`, or ``True`` (to use | ||
| 1403 | - :meth:`time.gmtime`). | ||
| 1402 | + tuple suitable for passing to :func:`time.strftime`, or ``True`` (to use | ||
| 1403 | + :func:`time.gmtime`). | ||
| 1404 | 1404 | ||
| 1405 | 1405 | ||
| 1406 | 1406 | .. method:: get_flags() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -754,8 +754,8 @@ datetime | |||
| 754 | 754 | -------- | |
| 755 | 755 | ||
| 756 | 756 | Added new alternate constructors :meth:`datetime.date.fromisocalendar` and | |
| 757 | - :meth:`datetime.datetime.fromisocalendar`, which construct :class:`date` and | ||
| 758 | - :class:`datetime` objects respectively from ISO year, week number, and weekday; | ||
| 757 | + :meth:`datetime.datetime.fromisocalendar`, which construct :class:`~datetime.date` and | ||
| 758 | + :class:`~datetime.datetime` objects respectively from ISO year, week number, and weekday; | ||
| 759 | 759 | these are the inverse of each class's ``isocalendar`` method. | |
| 760 | 760 | (Contributed by Paul Ganssle in :issue:`36004`.) | |
| 761 | 761 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments