(vm: &VirtualMachine)
| 19 | } |
| 20 | #[pyattr] |
| 21 | fn proxy(vm: &VirtualMachine) -> PyTypeRef { |
| 22 | vm.ctx.types.weakproxy_type.to_owned() |
| 23 | } |
| 24 | #[pyattr(name = "ReferenceType")] |
| 25 | fn reference_type(vm: &VirtualMachine) -> PyTypeRef { |
| 26 | vm.ctx.types.weakref_type.to_owned() |