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

Method iter_builtins

Tools/gdb/libpython.py:1168–1177  ·  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

1166 return pyop_globals.iteritems()
1167
1168 def iter_builtins(self):
1169 '''
1170 Yield a sequence of (name,value) pairs of PyObjectPtr instances, for
1171 the builtin variables
1172 '''
1173 if self.is_optimized_out():
1174 return ()
1175
1176 pyop_builtins = self._f_builtins()
1177 return pyop_builtins.iteritems()
1178
1179 def get_var_by_name(self, name):
1180 '''

Callers 2

get_var_by_nameMethod · 0.95
iter_builtinsMethod · 0.45

Calls 3

is_optimized_outMethod · 0.95
_f_builtinsMethod · 0.95
iteritemsMethod · 0.45

Tested by

no test coverage detected