Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37f8a2e

Browse files
committed
Test commit of docs changes to confirm annotations behave correctly
1 parentd4f66b9 commit37f8a2e

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
@@ -1959,12 +1959,12 @@ Examples of working with a :class:`.time` object::
19591959
supports methods revealing offset of local time from UTC, the name of the time
19601960
zone, and DST offset, all relative to a date or time object passed to them.
19611961

1962-
You need to derive a concrete subclass, and (at least)
1963-
supplyimplementations of the standard:class:`tzinfo` methods needed by the
1962+
You need to derive a concreteasubclass, and (at least) supply
1963+
implementations of the standard:class:`tzinfo` methods needed by the
19641964
:class:`.datetime` methods you use. The:mod:`datetime` module provides
19651965
:class:`timezone`, a simple concrete subclass of:class:`tzinfo` which can
19661966
represent timezones with fixed offset from UTC such as UTC itself or North
1967-
American ESTand EDT.
1967+
American EST& EDT.
19681968

19691969
Special requirement for pickling: A:class:`tzinfo` subclass must have an
19701970
:meth:`__init__` method that can be called with no arguments, otherwise it can be
@@ -2462,13 +2462,13 @@ convenience. These parameters all correspond to ISO 8601 date values.
24622462
|| naive).| -03:07:12.345216||
24632463
+-----------+--------------------------------+------------------------+-------+
24642464

2465-
These may not be available onall platforms when used with the:meth:`strftime`
2465+
These may not be available onallplatforms when used with the:meth:`strftime`
24662466
method. The ISO 8601 year and ISO 8601 week directives are not interchangeable
24672467
with the year and week number directives above. Calling:meth:`strptime` with
24682468
incomplete or ambiguous ISO 8601 directives will raise a:exc:`ValueError`.
24692469

24702470
The full set of format codes supported varies across platforms, because Python
2471-
calls the platform C library's:func:`strftime` function, and platform
2471+
calls the platform C library's:c:func:`!strftime` function, and platform
24722472
variations are common. To see the full set of format codes supported on your
24732473
platform, consult the:manpage:`strftime(3)` documentation. There are also
24742474
differences between platforms in handling of unsupported format specifiers.
@@ -2601,7 +2601,7 @@ Notes:
26012601
(7)
26022602
When used with the:meth:`strptime` method, ``%U`` and ``%W`` are only used
26032603
in calculations when the day of the week and the calendar year (``%Y``)
2604-
are specified.
2604+
are specified test:class:`doesnotexist`.
26052605

26062606
(8)
26072607
Similar to ``%U`` and ``%W``, ``%V`` is only used in calculations when the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp