zipimport: document archive encoding; fix indentation

This commit is contained in:
Victor Stinner 2010-10-18 22:34:46 +00:00
parent 965a8a1c5b
commit 9e40fad193
1 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,8 @@ typedef struct _zipimporter ZipImporter;
struct _zipimporter {
PyObject_HEAD
PyObject *archive; /* pathname of the Zip archive */
PyObject *archive; /* pathname of the Zip archive,
decoded from the filesystem encoding */
PyObject *prefix; /* file prefix: "a/sub/directory/",
encoded to the filesystem encoding */
PyObject *files; /* dict with file info {path: toc_entry} */