the implementation uses ZipImportError, not ZipImporterError...

This commit is contained in:
Fredrik Lundh 2006-01-15 15:00:40 +00:00
parent 26075a196c
commit b84b35f02a
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ PyDoc_STRVAR(zipimport_doc,
\n\ \n\
This module exports three objects:\n\ This module exports three objects:\n\
- zipimporter: a class; its constructor takes a path to a Zip archive.\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\ subclass of ImportError, so it can be caught as ImportError, too.\n\
- _zip_directory_cache: a dict, mapping archive paths to zip directory\n\ - _zip_directory_cache: a dict, mapping archive paths to zip directory\n\
info dicts, as used in zipimporter._files.\n\ info dicts, as used in zipimporter._files.\n\