mirror of https://github.com/python/cpython
[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)
(cherry picked from commit 7d722b7d3a
)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
This commit is contained in:
parent
e1dfa978b1
commit
f85d59ccf8
|
@ -1,11 +1,9 @@
|
|||
"""zipimport provides support for importing Python modules from Zip archives.
|
||||
|
||||
This module exports three objects:
|
||||
This module exports two objects:
|
||||
- zipimporter: a class; its constructor takes a path to a Zip archive.
|
||||
- ZipImportError: exception raised by zipimporter objects. It's a
|
||||
subclass of ImportError, so it can be caught as ImportError, too.
|
||||
- _zip_directory_cache: a dict, mapping archive paths to zip directory
|
||||
info dicts, as used in zipimporter._files.
|
||||
|
||||
It is usually not needed to use the zipimport module explicitly; it is
|
||||
used by the builtin import mechanism for sys.path items that are paths
|
||||
|
|
Loading…
Reference in New Issue