]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99728: correct typo in `datetime` format codes documentation (#99750)
authorBrad Wolfe <brad.wolfe@gmail.com>
Sat, 10 Dec 2022 10:20:18 +0000 (11:20 +0100)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 10:20:18 +0000 (15:50 +0530)
Doc/library/datetime.rst

index 0b39512a2d2303377c4a62621823a26c5ce6ccb5..8bfed19d3fd2c64ba00c1dd29d72def10d18b64a 100644 (file)
@@ -2602,7 +2602,7 @@ Notes:
 
 (9)
    When used with the :meth:`strptime` method, the leading zero is optional
-   for  formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``,
+   for  formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``,
    ``%W``, and ``%V``. Format ``%y`` does require a leading zero.
 
 .. rubric:: Footnotes