mirror of https://github.com/python/cpython
bpo-36166: Change to rst datamodel file. (GH-13089)
This commit is contained in:
parent
c664b342a4
commit
5e98f05e55
|
@ -1311,9 +1311,9 @@ Basic customization
|
|||
Called by the :func:`format` built-in function,
|
||||
and by extension, evaluation of :ref:`formatted string literals
|
||||
<f-strings>` and the :meth:`str.format` method, to produce a "formatted"
|
||||
string representation of an object. The ``format_spec`` argument is
|
||||
string representation of an object. The *format_spec* argument is
|
||||
a string that contains a description of the formatting options desired.
|
||||
The interpretation of the ``format_spec`` argument is up to the type
|
||||
The interpretation of the *format_spec* argument is up to the type
|
||||
implementing :meth:`__format__`, however most classes will either
|
||||
delegate formatting to one of the built-in types, or use a similar
|
||||
formatting option syntax.
|
||||
|
|
Loading…
Reference in New Issue