mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix a spelling mistake in a comment.
This commit is contained in:
parent
62bb394729
commit
ecfefb7956
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ PyImport_ImportModuleLevelObject(PyObject *name, PyObject *given_globals,
|
|||
}
|
||||
else {
|
||||
/* Only have to care what given_globals is if it will be used
|
||||
fortsomething. */
|
||||
for something. */
|
||||
if (level > 0 && !PyDict_Check(given_globals)) {
|
||||
PyErr_SetString(PyExc_TypeError, "globals must be a dict");
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue