mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.
This commit is contained in:
parent
620bb277f8
commit
ea525a2d1a
14 changed files with 396 additions and 356 deletions
|
|
@ -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])``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue