Skip to content

Commit 92cbe73

Browse files
[3.12] Docs: Add link to skip to datetime's format codes (GH-108027) (#108329)
Docs: Add link to skip to datetime's format codes (GH-108027) (cherry picked from commit 35cb160) Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent b539dd3 commit 92cbe73

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`
@@ -2322,6 +2326,8 @@ versus :meth:`strptime`:
23222326
+----------------+--------------------------------------------------------+------------------------------------------------------------------------------+
23232327

23242328

2329+
.. _format-codes:
2330+
23252331
:meth:`strftime` and :meth:`strptime` Format Codes
23262332
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23272333

0 commit comments

Comments
 (0)