summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-11-03 21:30:49 (GMT)
committerEric V. Smith <eric@trueblade.com>2015-11-03 21:30:49 (GMT)
commit9ce52e3bdac2b393c8de5b0da3b1a537dec1928c (patch)
treedc35b6c86fc440159c398ab39d8854e6c522435a /Doc/library/dis.rst
parent281d5321a3bdee1fd7091e439855c0358371216c (diff)
downloadcpython-9ce52e3bdac2b393c8de5b0da3b1a537dec1928c.zip
cpython-9ce52e3bdac2b393c8de5b0da3b1a537dec1928c.tar.gz
cpython-9ce52e3bdac2b393c8de5b0da3b1a537dec1928c.tar.bz2
Issue 25483: Fix doc typo and added versionadded. Thanks, Berker Peksag.
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index c6e1656..ef601e6 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -995,7 +995,7 @@ the more significant byte last.
an optional *fmt_spec* from the stack, then a required *value*.
*flags* is interpreted as follows:
- * ``(flags & 0x03) == 0x00``: *value* is formattedd as-is.
+ * ``(flags & 0x03) == 0x00``: *value* is formatted as-is.
* ``(flags & 0x03) == 0x01``: call :func:`str` on *value* before
formatting it.
* ``(flags & 0x03) == 0x02``: call :func:`repr` on *value* before
@@ -1007,6 +1007,8 @@ the more significant byte last.
Formatting is performed using the :c:func:`PyObject_Format` function.
+ .. versionadded:: 3.6
+
.. opcode:: HAVE_ARGUMENT