summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-15 16:52:48 (GMT)
committerGitHub <noreply@github.com>2024-05-15 16:52:48 (GMT)
commitf85d59ccf8efb916cf516e65d0e550d068fd442e (patch)
tree26e58dcf02e912bfc9db08bc08b1d27cc61af344
parente1dfa978b1ad210d551385ad8073ec6154f53763 (diff)
downloadcpython-f85d59ccf8efb916cf516e65d0e550d068fd442e.zip
cpython-f85d59ccf8efb916cf516e65d0e550d068fd442e.tar.gz
cpython-f85d59ccf8efb916cf516e65d0e550d068fd442e.tar.bz2
[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)
(cherry picked from commit 7d722b7d3ac78bfa74a5d2f21513ffbf4f85cff2) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
-rw-r--r--Lib/zipimport.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/zipimport.py b/Lib/zipimport.py
index 4e41d10..a49a21f 100644
--- a/Lib/zipimport.py
+++ b/Lib/zipimport.py
@@ -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