diff options
author | Michael K <michael-k@users.noreply.github.com> | 2023-03-02 15:26:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 15:26:49 (GMT) |
commit | 73250000ac7d6a5e41917e8bcea7234444cbde78 (patch) | |
tree | fa858e37aebe1630ebd2f81d32748bd42ecf7ceb /Lib/zoneinfo | |
parent | ed55c69ebd74178115cd8b080f7f8e7588cd5fda (diff) | |
download | cpython-73250000ac7d6a5e41917e8bcea7234444cbde78.zip cpython-73250000ac7d6a5e41917e8bcea7234444cbde78.tar.gz cpython-73250000ac7d6a5e41917e8bcea7234444cbde78.tar.bz2 |
Fix typos in documentation and comments (GH-102374)
Found some duplicate `to`s in the documentation and some code comments and fixed them.
[Misc/NEWS.d/3.12.0a1.rst](https://github.com/python/cpython/blob/ed55c69ebd74178115cd8b080f7f8e7588cd5fda/Misc/NEWS.d/3.12.0a1.rst) also contains two duplicate `to`s, but I wasn't sure if it's ok to touch that file. Looks auto generated. I'm happy to amend the PR if requested. :)
Automerge-Triggered-By: GH:AlexWaygood
Diffstat (limited to 'Lib/zoneinfo')
-rw-r--r-- | Lib/zoneinfo/_zoneinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zoneinfo/_zoneinfo.py b/Lib/zoneinfo/_zoneinfo.py index de68380..eede15b 100644 --- a/Lib/zoneinfo/_zoneinfo.py +++ b/Lib/zoneinfo/_zoneinfo.py @@ -302,7 +302,7 @@ class ZoneInfo(tzinfo): # difference between utcoffset() and the "standard" offset, but # the "base offset" and "DST offset" are not encoded in the file; # we can infer what they are from the isdst flag, but it is not - # sufficient to to just look at the last standard offset, because + # sufficient to just look at the last standard offset, because # occasionally countries will shift both DST offset and base offset. typecnt = len(isdsts) |