(&self)
| 2185 | |
| 2186 | #[pymethod] |
| 2187 | fn fileno(&self) -> i64 { |
| 2188 | self.sock |
| 2189 | .read() |
| 2190 | .as_ref() |
| 2191 | .map_or(INVALID_SOCKET as i64, |s| sock_fileno(s) as i64) |
| 2192 | } |
| 2193 | |
| 2194 | #[pymethod] |
| 2195 | fn getsockname(&self, vm: &VirtualMachine) -> std::io::Result<PyObjectRef> { |
nothing calls this directly
no test coverage detected