File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change @@ -1998,3 +1998,74 @@ instructions:
19981998.. data :: opmap
19991999
20002000 Dictionary :term: `mapping `
2001+
2002+ Dictionary mapping operation names to bytecodes.
2003+
2004+
2005+ .. data :: cmp_op
2006+
2007+ Sequence of all compare operation names.
2008+
2009+
2010+ .. data :: hasarg
2011+
2012+ Sequence of bytecodes that use their argument.
2013+
2014+ .. versionadded :: 3.12
2015+
2016+
2017+ .. data :: hasconst
2018+
2019+ Sequence of bytecodes that access a constant.
2020+
2021+
2022+ .. data :: hasfree
2023+
2024+ Sequence of bytecodes that access a :term: `free (closure) variable <closure variable> `.
2025+ 'free' in this context refers to names in the current scope that are
2026+ referenced by inner scopes or names in outer scopes that are referenced
2027+ from this scope. It does *not * include references to global or builtin scopes.
2028+
2029+
2030+ .. data :: hasname
2031+
2032+ Sequence of bytecodes that access an attribute by name.
2033+
2034+
2035+ .. data :: hasjump
2036+
2037+ Sequence of bytecodes that have a jump target. All jumps
2038+ are relative.
2039+
2040+ .. versionadded :: 3.13
2041+
2042+ .. data :: haslocal
2043+
2044+ Sequence of bytecodes that access a local variable.
2045+
2046+
2047+ .. data :: hascompare
2048+
2049+ Sequence of bytecodes of Boolean operations.
2050+
2051+ .. data :: hasexc
2052+
2053+ Sequence of bytecodes that set an exception handler.
2054+
2055+ .. versionadded :: 3.12
2056+
2057+
2058+ .. data :: hasjrel
2059+
2060+ Sequence of bytecodes that have a relative jump target.
2061+
2062+ .. deprecated :: 3.13
2063+ All jumps are now relative. Use :data: `hasjump `.
2064+
2065+
2066+ .. data :: hasjabs
2067+
2068+ Sequence of bytecodes that have an absolute jump target.
2069+
2070+ .. deprecated :: 3.13
2071+ All jumps are now relative. This list is empty.
You can’t perform that action at this time.
0 commit comments