MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / get_var_by_name

Method get_var_by_name

Tools/gdb/libpython.py:842–858  ·  view source on GitHub ↗

Look for the named local variable, returning a (PyObjectPtr, scope) pair where scope is a string 'local', 'global', 'builtin' If not found, return (None, None)

(self, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

invokeMethod · 0.80

Calls 5

iter_localsMethod · 0.95
iter_globalsMethod · 0.95
iter_builtinsMethod · 0.95
setFunction · 0.85
proxyvalMethod · 0.45

Tested by

no test coverage detected