summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorCatherine Alvarado <catherine@qventus.com>2019-05-04 21:54:35 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-05-04 21:54:35 (GMT)
commit5e98f05e55d13981c7c92fb14b9c013e4227c3c1 (patch)
tree814dd0e569e905b4d2da782a9efcc301a6173a99 /Doc/reference
parentc664b342a47e4b4650706d07e3e40a295e3a4407 (diff)
downloadcpython-5e98f05e55d13981c7c92fb14b9c013e4227c3c1.zip
cpython-5e98f05e55d13981c7c92fb14b9c013e4227c3c1.tar.gz
cpython-5e98f05e55d13981c7c92fb14b9c013e4227c3c1.tar.bz2
bpo-36166: Change to rst datamodel file. (GH-13089)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index bad611e..9fc9f3a 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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.