mirror of
https://github.com/python/cpython
synced 2024-09-21 03:03:11 +00:00
Fix #9316. if/is grammar corrections.
This commit is contained in:
parent
20f9c3c50f
commit
3283973949
|
@ -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.");
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue