summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-07 22:17:58 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-12-07 22:17:58 (GMT)
commit1659b83b1d976aa0b938e347e5bf9273ebd0c7a4 (patch)
tree45a9c15c6a8bf49d0bcdd278867a800a6907988e
parent96e76775bc82d5bac72afa67840f23dc74b85150 (diff)
downloadcpython-1659b83b1d976aa0b938e347e5bf9273ebd0c7a4.zip
cpython-1659b83b1d976aa0b938e347e5bf9273ebd0c7a4.tar.gz
cpython-1659b83b1d976aa0b938e347e5bf9273ebd0c7a4.tar.bz2
Followup to a541bda2f5e2: Add a short comment.
-rw-r--r--Python/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 9773687..47839c5 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1946,6 +1946,7 @@ find_module_path_list(PyObject *fullname, PyObject *name,
if (_Py_stat(filename, &statbuf) != 0 || S_ISDIR(statbuf.st_mode))
{
+ /* it doesn't exist, or it's a directory */
Py_DECREF(filename);
continue;
}