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