From: Thomas Grainger Date: Wed, 15 May 2024 16:21:52 +0000 (+0100) Subject: Remove references to private symbols from zipimport module docstring (GH-119015) X-Git-Tag: v3.14.0a1~1901 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d722b7d3ac78bfa74a5d2f21513ffbf4f85cff2;p=thirdparty%2FPython%2Fcpython.git Remove references to private symbols from zipimport module docstring (GH-119015) --- diff --git a/Lib/zipimport.py b/Lib/zipimport.py index 4e41d109865e..a49a21f0799d 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