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

Method iter_builtins

Tools/gdb/libpython.py:1008–1015  ·  view source on GitHub ↗

Yield a sequence of (name,value) pairs of PyObjectPtr instances, for the builtin variables

(self)

Source from the content-addressed store, hash-verified

1006 return self._frame.iter_globals()
1007
1008 def iter_builtins(self):
1009 '''
1010 Yield a sequence of (name,value) pairs of PyObjectPtr instances, for
1011 the builtin variables
1012 '''
1013 if self.is_optimized_out():
1014 return ()
1015 return self._frame.iter_builtins()
1016
1017 def get_var_by_name(self, name):
1018

Callers

nothing calls this directly

Calls 2

is_optimized_outMethod · 0.45
iter_builtinsMethod · 0.45

Tested by

no test coverage detected