From b84b35f02a155238570f8955f8a92d43d21707f5 Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Sun, 15 Jan 2006 15:00:40 +0000 Subject: [PATCH] the implementation uses ZipImportError, not ZipImporterError... --- Modules/zipimport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/zipimport.c b/Modules/zipimport.c index b2b2e3b9f8..937b0f733a 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -1132,7 +1132,7 @@ PyDoc_STRVAR(zipimport_doc, \n\ This module exports three objects:\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\ - _zip_directory_cache: a dict, mapping archive paths to zip directory\n\ info dicts, as used in zipimporter._files.\n\ -- 2.40.0