MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / is_local

Method is_local

tools/python-3.11.9-amd64/Lib/symtable.py:262–266  ·  view source on GitHub ↗

Return *True* if the symbol is local.

(self)

Source from the content-addressed store, hash-verified

260 return bool(self.__scope == GLOBAL_EXPLICIT)
261
262 def is_local(self):
263 """Return *True* if the symbol is local.
264 """
265 return bool(self.__scope in (LOCAL, CELL)
266 or (self.__module_scope and self.__flags & DEF_BOUND))
267
268 def is_annotated(self):
269 """Return *True* if the symbol is annotated.

Callers 1

symtable.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected