summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-07-21 01:44:19 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-07-21 01:44:19 (GMT)
commit3283973949796dc6d1542cc14592e6447099717d (patch)
tree44af62c73698fd56d3d2b1b178c67716643f5d7a /Modules
parent20f9c3c50f5e642295040c05e574ff9dc84bf207 (diff)
downloadcpython-3283973949796dc6d1542cc14592e6447099717d.zip
cpython-3283973949796dc6d1542cc14592e6447099717d.tar.gz
cpython-3283973949796dc6d1542cc14592e6447099717d.tar.bz2
Fix #9316. if/is grammar corrections.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/zipimport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 734445c..8d04f17 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -523,19 +523,19 @@ PyDoc_STRVAR(doc_is_package,
"is_package(fullname) -> bool.\n\
\n\
Return True if the module specified by fullname is a package.\n\
-Raise ZipImportError is the module couldn't be found.");
+Raise ZipImportError if the module couldn't be found.");
PyDoc_STRVAR(doc_get_code,
"get_code(fullname) -> code object.\n\
\n\
Return the code object for the specified module. Raise ZipImportError\n\
-is the module couldn't be found.");
+if the module couldn't be found.");
PyDoc_STRVAR(doc_get_source,
"get_source(fullname) -> source string.\n\
\n\
Return the source code for the specified module. Raise ZipImportError\n\
-is the module couldn't be found, return None if the archive does\n\
+if the module couldn't be found, return None if the archive does\n\
contain the module, but has no source for it.");