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 7a436c9

Browse filesBrowse files
authored
Merge branch 'main' into fetch-restore-objects
2 parents 3f8b452 + 7325000 commit 7a436c9
Copy full SHA for 7a436c9

File tree

4 files changed

+5
-5
lines changed
Filter options

4 files changed

+5
-5
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

‎Doc/library/typing.rst

Copy file name to clipboardExpand all lines: Doc/library/typing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ These are not used in annotations. They are building blocks for creating generic
13451345

13461346
x: Ts # Not valid
13471347
x: tuple[Ts] # Not valid
1348-
x: tuple[*Ts] # The correct way to to do it
1348+
x: tuple[*Ts] # The correct way to do it
13491349

13501350
Type variable tuples can be used in the same contexts as normal type
13511351
variables. For example, in class definitions, arguments, and return types::

‎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)

‎Objects/typeobject.c

Copy file name to clipboardExpand all lines: Objects/typeobject.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,11 +3822,11 @@ PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module,
38223822

38233823
res->ht_qualname = Py_NewRef(ht_name);
38243824
res->ht_name = ht_name;
3825-
ht_name = NULL; // Give our reference to to the type
3825+
ht_name = NULL; // Give our reference to the type
38263826

38273827
type->tp_name = _ht_tpname;
38283828
res->_ht_tpname = _ht_tpname;
3829-
_ht_tpname = NULL; // Give ownership to to the type
3829+
_ht_tpname = NULL; // Give ownership to the type
38303830

38313831
/* Copy the sizes */
38323832

0 commit comments

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