Corrected typo in comment.

This commit is contained in:
Vinay Sajip 2011-10-25 11:10:54 +01:00
parent 59b13f4de9
commit 5087d800c1
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ class Formatter(object):
# to errors when s is Unicode and record.exc_text is str
# See issue 8924.
# We also use replace for when there are multiple
# encodings, e.g. UTF-898 for the filesystem and latin-1
# encodings, e.g. UTF-8 for the filesystem and latin-1
# for a script. See issue 13232.
s = s + record.exc_text.decode(sys.getfilesystemencoding(),
'replace')