Return a tuple of nonlocals in the function.
(self)
| 215 | return self.__globals |
| 216 | |
| 217 | def get_nonlocals(self): |
| 218 | """Return a tuple of nonlocals in the function. |
| 219 | """ |
| 220 | if self.__nonlocals is None: |
| 221 | self.__nonlocals = self.__idents_matching(lambda x:x & DEF_NONLOCAL) |
| 222 | return self.__nonlocals |
| 223 | |
| 224 | def get_frees(self): |
| 225 | """Return a tuple of free variables in the function. |