Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47cc6fa

Browse filesBrowse files
[3.10] Fix typos in documentation and comments (GH-102374) (#102377)
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 Co-authored-by: Michael K <michael-k@users.noreply.github.com>
1 parent a8f9a82 commit 47cc6fa
Copy full SHA for 47cc6fa

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎Doc/library/sqlite3.rst

Copy file name to clipboardExpand all lines: Doc/library/sqlite3.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ including `cursors`_ and `transactions`_.
7272

7373
First, we need to create a new database and open
7474
a database connection to allow :mod:`!sqlite3` to work with it.
75-
Call :func:`sqlite3.connect` to to create a connection to
75+
Call :func:`sqlite3.connect` to create a connection to
7676
the database :file:`tutorial.db` in the current working directory,
7777
implicitly creating it if it does not exist:
7878

‎Lib/zoneinfo/_zoneinfo.py

Copy file name to clipboardExpand all lines: Lib/zoneinfo/_zoneinfo.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def _utcoff_to_dstoff(trans_idx, utcoffsets, isdsts):
302302
# difference between utcoffset() and the "standard" offset, but
303303
# the "base offset" and "DST offset" are not encoded in the file;
304304
# we can infer what they are from the isdst flag, but it is not
305-
# sufficient to to just look at the last standard offset, because
305+
# sufficient to just look at the last standard offset, because
306306
# occasionally countries will shift both DST offset and base offset.
307307

308308
typecnt = len(isdsts)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.