mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Fix typos in warnings, docstrings, comments and text files (#123597)
This commit is contained in:
parent
33b790978d
commit
1f4a49ea53
8 changed files with 8 additions and 8 deletions
|
@ -268,7 +268,7 @@ class TimeRE(dict):
|
|||
if day_of_month_in_format and not year_in_format:
|
||||
import warnings
|
||||
warnings.warn("""\
|
||||
Parsing dates involving a day of month without a year specified is ambiguious
|
||||
Parsing dates involving a day of month without a year specified is ambiguous
|
||||
and fails to parse leap day. The default behavior will change in Python 3.15
|
||||
to either always raise an exception or to use a different default year (TBD).
|
||||
To avoid trouble, add a specific year to the input & format.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue