Skip to content
Merged
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
encukou and hauntsaninja authored Sep 13, 2024
commit 173f06cafe975c1878c77de02de4d377a3857886
2 changes: 1 addition & 1 deletion Modules/_testsinglephase.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Here are the modules:

* _testsinglephase_circular
Regression test for gh-123880.
Does not have the common attirbutes & methods.
Does not have the common attributes & methods.
See test_singlephase_circular test.test_import.SinglephaseInitTests.

Module state:
Expand Down
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ _extensions_cache_set(PyObject *path, PyObject *name,
* being imported recursively from its PyInit_* or Py_mod_* function.
* (That function presumably handles returning a partially
* constructed module in such a case.)
* We can reuse the existing cache value; it is owned byt the cache.
* We can reuse the existing cache value; it is owned by the cache.
* (Entries get removed from it in exceptional circumstances,
* after interpreter shutdown, and in runtime shutdown.)
*/
Expand Down