Stronger urge to convert filenames to str before using them as argument to ZipFile.write().

This commit is contained in:
Georg Brandl 2007-08-30 10:09:42 +00:00
parent 426ea0a864
commit f11ed159f3
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ ZipFile Objects
.. note::
There is no official file name encoding for ZIP files. If you have unicode file
names, please convert them to byte strings in your desired encoding before
names, you must convert them to byte strings in your desired encoding before
passing them to :meth:`write`. WinZip interprets all file names as encoded in
CP437, also known as DOS Latin.