We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd067c1 commit fba84f0Copy full SHA for fba84f0
Doc/library/datetime.rst
@@ -599,7 +599,7 @@ Other constructors, all class methods:
599
:exc:`DeprecationWarning` is emitted. This is to avoid a quadrennial
600
leap year bug in code seeking to parse only a month and day as the
601
default year used in absence of one in the format is not a leap year.
602
- Such *format* values may raise an error as of Python 3.15. The
+ Such *format* values may raise an error as of Python 3.18. The
603
workaround is to always include a year in your *format*. If parsing
604
*date_string* values that do not have a year, explicitly add a year that
605
is a leap year before parsing:
0 commit comments