summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-08-05 23:24:57 (GMT)
committerBrett Cannon <brett@python.org>2012-08-05 23:24:57 (GMT)
commitecfefb7956c7f7ac63d6ac653e22abe55eac9b60 (patch)
tree5ee6a1961edaecb76f317d480370b66665af748c /Python/import.c
parent62bb394729a167a46d950954c4aed5f3ba7b8a69 (diff)
downloadcpython-ecfefb7956c7f7ac63d6ac653e22abe55eac9b60.zip
cpython-ecfefb7956c7f7ac63d6ac653e22abe55eac9b60.tar.gz
cpython-ecfefb7956c7f7ac63d6ac653e22abe55eac9b60.tar.bz2
Fix a spelling mistake in a comment.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 6f4b6d0..2540f9d 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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;