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

Method is_annotated

Lib/symtable.py:346–349  ·  view source on GitHub ↗

Return *True* if the symbol is annotated.

(self)

Source from the content-addressed store, hash-verified

344 or (self.__module_scope and self.__flags & DEF_BOUND))
345
346 def is_annotated(self):
347 """Return *True* if the symbol is annotated.
348 """
349 return bool(self.__flags & DEF_ANNOT)
350
351 def is_free(self):
352 """Return *True* if a referenced symbol is

Callers 1

test_annotatedMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_annotatedMethod · 0.36