From f11ed159f3c580c7b4d07dd1ce1d385f0efd9e09 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 30 Aug 2007 10:09:42 +0000 Subject: [PATCH] Stronger urge to convert filenames to str before using them as argument to ZipFile.write(). --- Doc/library/zipfile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.1