]> granicus.if.org Git - python/commitdiff
Fix #9316. if/is grammar corrections.
authorBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:44:19 +0000 (01:44 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:44:19 +0000 (01:44 +0000)
Modules/zipimport.c

index 734445cbbaab812d10f2a7d7ce423a8f5f7294a8..8d04f17e4bdfb54e87590eda3f43dc73f9b6713d 100644 (file)
@@ -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.");