MCPcopy Index your code
hub / github.com/python/cpython / _get_scope

Function _get_scope

Lib/symtable.py:175–176  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

173
174
175def _get_scope(flags): # like _PyST_GetScope()
176 return (flags >> SCOPE_OFF) & SCOPE_MASK
177
178
179class Function(SymbolTable):

Callers 5

get_localsMethod · 0.85
get_globalsMethod · 0.85
get_freesMethod · 0.85
get_cellsMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…