Skip to content

Commit

Permalink
[3.12] Docs: Add link to skip to datetime's format codes (GH-108027) (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
miss-islington and hugovk authored Aug 22, 2023
1 parent b539dd3 commit 92cbe73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ The :mod:`datetime` module supplies classes for manipulating dates and times.
While date and time arithmetic is supported, the focus of the implementation is
on efficient attribute extraction for output formatting and manipulation.

.. tip::

Skip to :ref:`the format codes <format-codes>`.

.. seealso::

Module :mod:`calendar`
Expand Down Expand Up @@ -2322,6 +2326,8 @@ versus :meth:`strptime`:
+----------------+--------------------------------------------------------+------------------------------------------------------------------------------+


.. _format-codes:

:meth:`strftime` and :meth:`strptime` Format Codes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 92cbe73

Please sign in to comment.