mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
[3.10] Fix typos in the Python directory (GH-28767) (GH-28799)
(cherry picked from commit db693df3e1
)
This commit is contained in:
parent
212140dceb
commit
ccd82a0800
6 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue