Merged revisions 83009 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:46:44 +0000 (01:46 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:46:44 +0000 (01:46 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83009 | brian.curtin | 2010-07-20 20:44:19 -0500 (Tue, 20 Jul 2010) | 2 lines

  Fix #9316. if/is grammar corrections.
........

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.");