Kaydet (Commit) b84b35f0 authored tarafından Fredrik Lundh's avatar Fredrik Lundh

the implementation uses ZipImportError, not ZipImporterError...

üst 26075a19
...@@ -1132,7 +1132,7 @@ PyDoc_STRVAR(zipimport_doc, ...@@ -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\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment