Skip to content

Commit

Permalink
Docs: Add link to skip to datetime's format codes (python#108027)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Aug 22, 2023
1 parent 21dda09 commit 35cb160
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 35cb160

Please sign in to comment.