Fix typos in the Python directory (GH-28767)

This commit is contained in:
Christian Clauss 2021-10-07 00:55:27 +02:00 committed by GitHub
parent 6c942a86a4
commit db693df3e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 11 deletions

View file

@ -2458,7 +2458,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;