Return *True* if the symbol is nonlocal.
(self)
| 329 | or (self.__module_scope and self.__flags & DEF_BOUND)) |
| 330 | |
| 331 | def is_nonlocal(self): |
| 332 | """Return *True* if the symbol is nonlocal.""" |
| 333 | return bool(self.__flags & DEF_NONLOCAL) |
| 334 | |
| 335 | def is_declared_global(self): |
| 336 | """Return *True* if the symbol is declared global |