Method
co_freevars
(&self, vm: &VirtualMachine)
Source from the content-addressed store, hash-verified
| 850 | |
| 851 | #[pygetset] |
| 852 | pub fn co_freevars(&self, vm: &VirtualMachine) -> PyTupleRef { |
| 853 | let names = self |
| 854 | .code |
| 855 | .freevars |
| 856 | .deref() |
| 857 | .iter() |
| 858 | .map(|name| name.to_pyobject(vm)) |
| 859 | .collect(); |
| 860 | vm.ctx.new_tuple(names) |
| 861 | } |
| 862 | |
| 863 | #[pygetset] |
| 864 | pub fn co_linetable(&self, vm: &VirtualMachine) -> crate::builtins::PyBytesRef { |
Callers
nothing calls this directly
Tested by
no test coverage detected