[3.10] Fix typos in the Python directory (GH-28767) (GH-28799)

(cherry picked from commit db693df3e1)
This commit is contained in:
Christian Clauss 2021-10-07 17:30:08 +02:00 committed by GitHub
parent 212140dceb
commit ccd82a0800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -2195,7 +2195,7 @@ _PyImport_BootstrapImp(PyThreadState *tstate)
// Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
// an object with just a name attribute.
//
// _imp.__spec__ is overriden by importlib._bootstrap._instal() anyway.
// _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
PyObject *attrs = Py_BuildValue("{sO}", "name", name);
if (attrs == NULL) {
goto error;