(&self, vm: &VirtualMachine)
| 2193 | |
| 2194 | #[pymethod] |
| 2195 | fn getsockname(&self, vm: &VirtualMachine) -> std::io::Result<PyObjectRef> { |
| 2196 | let addr = self.sock()?.local_addr()?; |
| 2197 | |
| 2198 | Ok(get_addr_tuple(&addr, vm)) |
| 2199 | } |
| 2200 | |
| 2201 | #[pymethod] |
| 2202 | fn getpeername(&self, vm: &VirtualMachine) -> std::io::Result<PyObjectRef> { |
nothing calls this directly
no test coverage detected