MCPcopy Index your code
hub / github.com/RustPython/RustPython / from

Method from

crates/stdlib/src/socket.rs:2724–2726  ·  view source on GitHub ↗
(exc: PyBaseExceptionRef)

Source from the content-addressed store, hash-verified

2722 }
2723 impl From<PyBaseExceptionRef> for IoOrPyException {
2724 fn from(exc: PyBaseExceptionRef) -> Self {
2725 Self::Py(exc)
2726 }
2727 }
2728 impl From<PyRef<PyOSError>> for IoOrPyException {
2729 fn from(exc: PyRef<PyOSError>) -> Self {

Callers

nothing calls this directly

Calls 2

PyClass · 0.85
upcastMethod · 0.80

Tested by

no test coverage detected