Fix a spelling mistake in a comment.

This commit is contained in:
Brett Cannon 2012-08-05 19:24:57 -04:00
parent 62bb394729
commit ecfefb7956
1 changed files with 1 additions and 1 deletions

View File

@ -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;