summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-06 19:07:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-06 19:07:53 (GMT)
commitea525a2d1a798f529b015f86b174d478806ac7ec (patch)
tree4ed79494c2a6a8e3460027a246020d25c1eaca16 /Doc/library
parent620bb277f89ba373b8c50e1a9fb9c8ba77a245c4 (diff)
downloadcpython-ea525a2d1a798f529b015f86b174d478806ac7ec.zip
cpython-ea525a2d1a798f529b015f86b174d478806ac7ec.tar.gz
cpython-ea525a2d1a798f529b015f86b174d478806ac7ec.tar.bz2
Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 245b4d2..b74df0a 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -777,6 +777,14 @@ All of the following opcodes use their arguments.
.. versionadded:: 3.6
+.. opcode:: BUILD_STRING (count)
+
+ Concatenates *count* strings from the stack and pushes the resulting string
+ onto the stack.
+
+ .. versionadded:: 3.6
+
+
.. opcode:: LOAD_ATTR (namei)
Replaces TOS with ``getattr(TOS, co_names[namei])``.