diff options
author | Georg Brandl <georg@python.org> | 2007-08-30 10:09:42 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-30 10:09:42 +0000 |
commit | f11ed159f3c580c7b4d07dd1ce1d385f0efd9e09 (patch) | |
tree | 50337324fa437b63c8881668de9df0986423a304 /Doc/library/zipfile.rst | |
parent | 426ea0a8640b2905ba0c0833ff797241dd5b819d (diff) | |
download | cpython-git-f11ed159f3c580c7b4d07dd1ce1d385f0efd9e09.tar.gz |
Stronger urge to convert filenames to str before using them as argument to ZipFile.write().
Diffstat (limited to 'Doc/library/zipfile.rst')
-rw-r--r-- | Doc/library/zipfile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index ccc3114c84..7257b35139 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -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. |