@@ -1104,7 +1104,7 @@ get_decompress_func(void)
11041104 _Py_IDENTIFIER (decompress );
11051105
11061106 if (importing_zlib != 0 )
1107- /* Someone has a zlib.py[co] in their Zip file;
1107+ /* Someone has a zlib.pyc in their Zip file;
11081108 let's avoid a stack overflow. */
11091109 return NULL ;
11101110 importing_zlib = 1 ;
@@ -1264,11 +1264,11 @@ eq_mtime(time_t t1, time_t t2)
12641264}
12651265
12661266/* Issue #29537: handle issue27286 bytecode incompatibility
1267- * See Lib/importlib/_bootstrap_external.py for general discussion
1267+ * See Lib/importlib/_bootstrap_external.py for general discussion
12681268 */
12691269extern PY_UINT32_T _Py_BACKCOMPAT_MAGIC_NUMBER ;
12701270
1271- /* Given the contents of a .py[co] file in a buffer, unmarshal the data
1271+ /* Given the contents of a .pyc file in a buffer, unmarshal the data
12721272 and return the code object. Return None if it the magic word doesn't
12731273 match (we do this instead of raising an exception as we fall back
12741274 to .py if available and we don't want to mask other errors).
@@ -1414,7 +1414,7 @@ get_mtime_of_source(ZipImporter *self, PyObject *path)
14141414 PyObject * toc_entry , * stripped ;
14151415 time_t mtime ;
14161416
1417- /* strip 'c' or 'o' from *.py[co] */
1417+ /* strip 'c' from *.pyc */
14181418 if (PyUnicode_READY (path ) == -1 )
14191419 return (time_t )- 1 ;
14201420 stripped = PyUnicode_FromKindAndData (PyUnicode_KIND (path ),
0 commit comments