mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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](ed55c69ebd/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
This commit is contained in:
parent
ed55c69ebd
commit
73250000ac
4 changed files with 5 additions and 5 deletions
|
@ -3822,11 +3822,11 @@ PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module,
|
|||
|
||||
res->ht_qualname = Py_NewRef(ht_name);
|
||||
res->ht_name = ht_name;
|
||||
ht_name = NULL; // Give our reference to to the type
|
||||
ht_name = NULL; // Give our reference to the type
|
||||
|
||||
type->tp_name = _ht_tpname;
|
||||
res->_ht_tpname = _ht_tpname;
|
||||
_ht_tpname = NULL; // Give ownership to to the type
|
||||
_ht_tpname = NULL; // Give ownership to the type
|
||||
|
||||
/* Copy the sizes */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue