Skip to content

Commit

Permalink
Docs: Add link to skip to datetime's format codes (pythonGH-108027)
Browse files Browse the repository at this point in the history
(cherry picked from commit 35cb160)

Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
hugovk authored and miss-islington committed Aug 22, 2023
1 parent 1dbf118 commit 60d2562
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 60d2562

Please sign in to comment.