Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor docs edit
  • Loading branch information
zuo committed Oct 1, 2024
commit 8eac1067da9826b8318a6ce6ff4e598f9d86c4d2
6 changes: 3 additions & 3 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2640,9 +2640,9 @@ Notes:
input to be zero-padded to the usual width (which is either 4 or
2 digits, depending on the format code and current locale). In
previous versions, a :exc:`ValueError` was raised if a shorter
*year*, not zero-padded to the 2- or 4-digit width as appropriate,
was part of the input (and it is worth noting that, depending
on the platform/locale, such inputs may be produced by using
*year* (not zero-padded to the 2- or 4-digit width as appropriate)
was part of the input. It is worth noting that, depending on the
platform/locale, such inputs may be produced by using
:meth:`~.datetime.strftime` with ``%c`` or ``%x``).

(2)
Expand Down