bpo-36166: Change to rst datamodel file. (GH-13089) · python/cpython@5e98f05 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1311,9 +1311,9 @@ Basic customization
1311 1311 Called by the :func:`format` built-in function,
1312 1312 and by extension, evaluation of :ref:`formatted string literals
1313 1313 ` and the :meth:`str.format` method, to produce a "formatted"
1314 - string representation of an object. The ``format_spec`` argument is
1314 + string representation of an object. The *format_spec* argument is
1315 1315 a string that contains a description of the formatting options desired.
1316 - The interpretation of the ``format_spec`` argument is up to the type
1316 + The interpretation of the *format_spec* argument is up to the type
1317 1317 implementing :meth:`__format__`, however most classes will either
1318 1318 delegate formatting to one of the built-in types, or use a similar
1319 1319 formatting option syntax.