Skip to content

Commit 35cb160

Browse files
authored
Docs: Add link to skip to datetime's format codes (#108027)
1 parent 21dda09 commit 35cb160

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)