From: Hugo van Kemenade Date: Tue, 22 Aug 2023 18:38:38 +0000 (+0300) Subject: Docs: Add link to skip to datetime's format codes (#108027) X-Git-Tag: v3.13.0a1~846 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35cb1605d08a77f1c18bd476b26391acaaa35599;p=thirdparty%2FPython%2Fcpython.git Docs: Add link to skip to datetime's format codes (#108027) --- diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index bed19ad145a2..400c369a9bb7 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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 `. + .. seealso:: Module :mod:`calendar` @@ -2322,6 +2326,8 @@ versus :meth:`strptime`: +----------------+--------------------------------------------------------+------------------------------------------------------------------------------+ + .. _format-codes: + :meth:`strftime` and :meth:`strptime` Format Codes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^