diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-10-25 10:10:54 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-10-25 10:10:54 (GMT) |
commit | 5087d800c164f2eefc02b7b2e76d0b2bcf8178d9 (patch) | |
tree | 98c8bc792b65da07a6a2b5ae9877af30f5949cd9 /Lib/logging | |
parent | 59b13f4de925de9945814c32097860bcbbdbd55a (diff) | |
download | cpython-5087d800c164f2eefc02b7b2e76d0b2bcf8178d9.zip cpython-5087d800c164f2eefc02b7b2e76d0b2bcf8178d9.tar.gz cpython-5087d800c164f2eefc02b7b2e76d0b2bcf8178d9.tar.bz2 |
Corrected typo in comment.
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index c18d5ba..b94fbbc 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') |