Kaydet (Commit) 7b2a7710 authored tarafından Florent Xicluna's avatar Florent Xicluna

typo

üst feb2ee46
...@@ -174,7 +174,7 @@ class Template(metaclass=_TemplateMetaclass): ...@@ -174,7 +174,7 @@ class Template(metaclass=_TemplateMetaclass):
# see PEP 3101 for details and purpose of this class # see PEP 3101 for details and purpose of this class
# The hard parts are reused from the C implementation. They're exposed as "_" # 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 overall parser is implemented in str._formatter_parser.
# The field name parser is implemented in str._formatter_field_name_split # The field name parser is implemented in str._formatter_field_name_split
...@@ -246,7 +246,7 @@ class Formatter: ...@@ -246,7 +246,7 @@ class Formatter:
return str(value) return str(value)
elif conversion is None: elif conversion is None:
return value 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: # returns an iterable that contains tuples of the form:
......
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