Return *True* if the symbol is local.
(self)
| 338 | return bool(self.__scope == GLOBAL_EXPLICIT) |
| 339 | |
| 340 | def is_local(self): |
| 341 | """Return *True* if the symbol is local. |
| 342 | """ |
| 343 | return bool(self.__scope in (LOCAL, CELL) |
| 344 | or (self.__module_scope and self.__flags & DEF_BOUND)) |
| 345 | |
| 346 | def is_annotated(self): |
| 347 | """Return *True* if the symbol is annotated. |
no outgoing calls