aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-01-22 21:47:10 +0100
committerArmin Rigo <arigo@tunes.org>2017-01-22 21:47:10 +0100
commit23f3fbe263999aa040807bbec20488aedd25d48c (patch)
tree88ff15cd67acac8b17c2461e1b98461bbe53aae0 /lib-python/3/opcode.py
parentin-progress: turn a simple f-string to AST (diff)
downloadpypy-23f3fbe263999aa040807bbec20488aedd25d48c.tar.gz
pypy-23f3fbe263999aa040807bbec20488aedd25d48c.tar.bz2
pypy-23f3fbe263999aa040807bbec20488aedd25d48c.zip
ast -> bytecode, minimal
Diffstat (limited to 'lib-python/3/opcode.py')
-rw-r--r--lib-python/3/opcode.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib-python/3/opcode.py b/lib-python/3/opcode.py
index 63aa96ebe0..1da843202a 100644
--- a/lib-python/3/opcode.py
+++ b/lib-python/3/opcode.py
@@ -214,6 +214,9 @@ def_op('BUILD_MAP_UNPACK_WITH_CALL', 151)
def_op('BUILD_TUPLE_UNPACK', 152)
def_op('BUILD_SET_UNPACK', 153)
+def_op('FORMAT_VALUE', 155)
+def_op('BUILD_STRING', 157)
+
# pypy modification, experimental bytecode
def_op('LOOKUP_METHOD', 201) # Index in name list
hasname.append(201)