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

Method is_annotated

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

Return *True* if the symbol is annotated.

(self)

Source from the content-addressed store, hash-verified

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

Callers 1

test_annotatedMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_annotatedMethod · 0.64