mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Fix typos in the Python directory (GH-28767)
This commit is contained in:
parent
6c942a86a4
commit
db693df3e1
7 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue