summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-11-04 12:11:13 (GMT)
committerEric V. Smith <eric@trueblade.com>2015-11-04 12:11:13 (GMT)
commita3a3d732ec951e272a763f4539439f67d42ef38e (patch)
treecd19087b988ad1295614544b16b523736d56d5c7 /Doc
parent45550178ef6102aad81b75462df828e663f3c640 (diff)
downloadcpython-a3a3d732ec951e272a763f4539439f67d42ef38e.zip
cpython-a3a3d732ec951e272a763f4539439f67d42ef38e.tar.gz
cpython-a3a3d732ec951e272a763f4539439f67d42ef38e.tar.bz2
For FORMAT_VALUE opcode, make it clear that the result of PyObject_Format is pushed on the stack.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dis.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index ef601e6..7222636 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1005,7 +1005,8 @@ the more significant byte last.
* ``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use
it, else use an empty *fmt_spec*.
- Formatting is performed using the :c:func:`PyObject_Format` function.
+ Formatting is performed using :c:func:`PyObject_Format`. The
+ result is pushed on the stack.
.. versionadded:: 3.6