@@ -91,8 +91,8 @@ implementation as the built-in :meth:`format` method.
9191
9292 .. method :: format(format_string, *args, **kwargs)
9393
94- :meth: `format ` is the primary API method. It takes a format template
95- string, and an arbitrary set of positional and keyword argument .
94+ :meth: `format ` is the primary API method. It takes a format string and
95+ an arbitrary set of positional and keyword arguments .
9696 :meth: `format ` is just a wrapper that calls :meth: `vformat `.
9797
9898 .. method :: vformat(format_string, args, kwargs)
@@ -101,8 +101,8 @@ implementation as the built-in :meth:`format` method.
101101 separate function for cases where you want to pass in a predefined
102102 dictionary of arguments, rather than unpacking and repacking the
103103 dictionary as individual arguments using the ``*args `` and ``**kwds ``
104- syntax. :meth: `vformat ` does the work of breaking up the format template
105- string into character data and replacement fields. It calls the various
104+ syntax. :meth: `vformat ` does the work of breaking up the format string
105+ into character data and replacement fields. It calls the various
106106 methods described below.
107107
108108 In addition, the :class: `Formatter ` defines a number of methods that are
@@ -173,7 +173,8 @@ implementation as the built-in :meth:`format` method.
173173
174174 Converts the value (returned by :meth: `get_field `) given a conversion type
175175 (as in the tuple returned by the :meth: `parse ` method). The default
176- version understands 'r' (repr) and 's' (str) conversion types.
176+ version understands 's' (str), 'r' (repr) and 'a' (ascii) conversion
177+ types.
177178
178179
179180.. _formatstrings :
0 commit comments