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

Method get_var_by_name

Tools/gdb/libpython.py:1017–1021  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

1015 return self._frame.iter_builtins()
1016
1017 def get_var_by_name(self, name):
1018
1019 if self.is_optimized_out():
1020 return None, None
1021 return self._frame.get_var_by_name(name)
1022
1023 def filename(self):
1024 '''Get the path of the current Python source file, as a string'''

Callers

nothing calls this directly

Calls 2

is_optimized_outMethod · 0.45
get_var_by_nameMethod · 0.45

Tested by

no test coverage detected