mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +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 {
|
else {
|
||||||
/* Only have to care what given_globals is if it will be used
|
/* Only have to care what given_globals is if it will be used
|
||||||
fortsomething. */
|
for something. */
|
||||||
if (level > 0 && !PyDict_Check(given_globals)) {
|
if (level > 0 && !PyDict_Check(given_globals)) {
|
||||||
PyErr_SetString(PyExc_TypeError, "globals must be a dict");
|
PyErr_SetString(PyExc_TypeError, "globals must be a dict");
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue