This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rodelrod
Recipients
Date 2006-03-01.09:04:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
In the Python Library Reference, 12.20.5 Examples.
In the UnicodeReader/UnicodeWriter example.

class UnicodeWriter:
...
|    def writerow(self, row):
|    |    self.writer.writerow([s.encode("utf-8") for s
in row])

should be:

class UnicodeWriter:
...
|    def writerow(self, row):
|    |    self.writer.writerow([s.encode(self.encoding)
for s in row])
History
Date User Action Args
2007-08-23 14:38:07adminlinkissue1440831 messages
2007-08-23 14:38:07admincreate