From: Florent Xicluna Date: Mon, 6 Sep 2010 20:27:55 +0000 (+0000) Subject: typo X-Git-Tag: v3.2a3~413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b2a7710ef17e38e021f6f045b8cd7ad0e96d5e1;p=thirdparty%2FPython%2Fcpython.git typo --- diff --git a/Lib/string.py b/Lib/string.py index defe894414c0..2a450cd96287 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -174,7 +174,7 @@ class Template(metaclass=_TemplateMetaclass): # see PEP 3101 for details and purpose of this class # The hard parts are reused from the C implementation. They're exposed as "_" -# prefixed methods of str and unicode. +# prefixed methods of str. # The overall parser is implemented in str._formatter_parser. # The field name parser is implemented in str._formatter_field_name_split @@ -246,7 +246,7 @@ class Formatter: return str(value) elif conversion is None: return value - raise ValueError("Unknown converion specifier {0!s}".format(conversion)) + raise ValueError("Unknown conversion specifier {0!s}".format(conversion)) # returns an iterable that contains tuples of the form: