(obj: PyObjectRef)
| 36 | |
| 37 | #[pyfunction] |
| 38 | fn getweakrefcount(obj: PyObjectRef) -> usize { |
| 39 | obj.weak_count().unwrap_or(0) |
| 40 | } |
| 41 | |
| 42 | #[pyfunction] |
| 43 | fn getweakrefs(obj: PyObjectRef) -> Vec<PyObjectRef> { |
nothing calls this directly
no test coverage detected