]> granicus.if.org Git - python/commitdiff
Merged revisions 83007 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:40:15 +0000 (01:40 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Wed, 21 Jul 2010 01:40:15 +0000 (01:40 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

........
  r83007 | brian.curtin | 2010-07-20 20:35:46 -0500 (Tue, 20 Jul 2010) | 2 lines

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

Modules/zipimport.c

index 18c5a7d2ad67a887a83df142d724fd523079fd27..c3676e599e720882b6f6666eed7a3d16f8f3405e 100644 (file)
@@ -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.");