Skip to content

Commit 12cad61

Browse files
[3.11] Docs: Add link to skip to datetime's format codes (GH-108027) (#108330)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent fadf8a0 commit 12cad61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/library/datetime.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ The :mod:`datetime` module supplies classes for manipulating dates and times.
1919
While date and time arithmetic is supported, the focus of the implementation is
2020
on efficient attribute extraction for output formatting and manipulation.
2121

22+
.. tip::
23+
24+
Skip to :ref:`the format codes <format-codes>`.
25+
2226
.. seealso::
2327

2428
Module :mod:`calendar`
@@ -2314,6 +2318,8 @@ versus :meth:`strptime`:
23142318
+----------------+--------------------------------------------------------+------------------------------------------------------------------------------+
23152319

23162320

2321+
.. _format-codes:
2322+
23172323
:meth:`strftime` and :meth:`strptime` Format Codes
23182324
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23192325

0 commit comments

Comments
 (0)