Commit 5087d800 authored by Vinay Sajip's avatar Vinay Sajip

Corrected typo in comment.

parent 59b13f4d
...@@ -480,7 +480,7 @@ class Formatter(object): ...@@ -480,7 +480,7 @@ class Formatter(object):
# to errors when s is Unicode and record.exc_text is str # to errors when s is Unicode and record.exc_text is str
# See issue 8924. # See issue 8924.
# We also use replace for when there are multiple # 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. # for a script. See issue 13232.
s = s + record.exc_text.decode(sys.getfilesystemencoding(), s = s + record.exc_text.decode(sys.getfilesystemencoding(),
'replace') 'replace')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment