summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-07-21 01:35:46 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-07-21 01:35:46 (GMT)
commit13b43e70e2e3659a145b2ce27d424c66d3c1e92e (patch)
tree702f6aa9b1b01dc413f0004cfa317706ae44b461
parentdcd60ca1b7af6043e0762bde27cf6a88e1cdee95 (diff)
downloadcpython-13b43e70e2e3659a145b2ce27d424c66d3c1e92e.zip
cpython-13b43e70e2e3659a145b2ce27d424c66d3c1e92e.tar.gz
cpython-13b43e70e2e3659a145b2ce27d424c66d3c1e92e.tar.bz2
Fix #9316. if/is grammar corrections.
-rw-r--r--Modules/zipimport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 3cce9bf..c9acb7d 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -536,19 +536,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.");