Fix typos in warnings, docstrings, comments and text files (#123597)

This commit is contained in:
abstractee 2024-09-03 01:20:40 +01:00 committed by GitHub
parent 33b790978d
commit 1f4a49ea53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View file

@ -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.