Docs: Add link to skip to datetime's format codes (#108027)

This commit is contained in:
Hugo van Kemenade 2023-08-22 21:38:38 +03:00 committed by GitHub
parent 21dda09600
commit 35cb1605d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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`
@ -2322,6 +2326,8 @@ versus :meth:`strptime`:
+----------------+--------------------------------------------------------+------------------------------------------------------------------------------+
.. _format-codes:
:meth:`strftime` and :meth:`strptime` Format Codes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^