From 7d722b7d3ac78bfa74a5d2f21513ffbf4f85cff2 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 15 May 2024 17:21:52 +0100 Subject: [PATCH] Remove references to private symbols from zipimport module docstring (GH-119015) --- Lib/zipimport.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/zipimport.py b/Lib/zipimport.py index 4e41d109865..a49a21f0799 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