From: Vinay Sajip Date: Tue, 25 Oct 2011 10:10:54 +0000 (+0100) Subject: Corrected typo in comment. X-Git-Tag: v2.7.3rc1~377 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5087d800c164f2eefc02b7b2e76d0b2bcf8178d9;p=python Corrected typo in comment. --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index c18d5ba04e..b94fbbcfe3 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -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')