Return a tuple of free variables in the function.
(self)
| 223 | return self.__nonlocals |
| 224 | |
| 225 | def get_frees(self): |
| 226 | """Return a tuple of free variables in the function. |
| 227 | """ |
| 228 | if self.__frees is None: |
| 229 | is_free = lambda x: _get_scope(x) == FREE |
| 230 | self.__frees = self.__idents_matching(is_free) |
| 231 | return self.__frees |
| 232 | |
| 233 | def get_cells(self): |
| 234 | """Return a tuple of cell variables in the function. |