MCPcopy Index your code
hub / github.com/RustPython/RustPython / has_children

Method has_children

Lib/symtable.py:133–136  ·  view source on GitHub ↗

Return *True* if the block has nested namespaces.

(self)

Source from the content-addressed store, hash-verified

131 return bool(self._table.nested)
132
133 def has_children(self):
134 """Return *True* if the block has nested namespaces.
135 """
136 return bool(self._table.children)
137
138 def get_identifiers(self):
139 """Return a view object containing the names of symbols in the table.

Callers 2

test_childrenMethod · 0.80
print_tableFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_childrenMethod · 0.64