mirror of https://github.com/python/cpython
the implementation uses ZipImportError, not ZipImporterError...
This commit is contained in:
parent
26075a196c
commit
b84b35f02a
|
@ -1132,7 +1132,7 @@ PyDoc_STRVAR(zipimport_doc,
|
||||||
\n\
|
\n\
|
||||||
This module exports three objects:\n\
|
This module exports three objects:\n\
|
||||||
- zipimporter: a class; its constructor takes a path to a Zip archive.\n\
|
- zipimporter: a class; its constructor takes a path to a Zip archive.\n\
|
||||||
- ZipImporterError: exception raised by zipimporter objects. It's a\n\
|
- ZipImportError: exception raised by zipimporter objects. It's a\n\
|
||||||
subclass of ImportError, so it can be caught as ImportError, too.\n\
|
subclass of ImportError, so it can be caught as ImportError, too.\n\
|
||||||
- _zip_directory_cache: a dict, mapping archive paths to zip directory\n\
|
- _zip_directory_cache: a dict, mapping archive paths to zip directory\n\
|
||||||
info dicts, as used in zipimporter._files.\n\
|
info dicts, as used in zipimporter._files.\n\
|
||||||
|
|
Loading…
Reference in New Issue