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

Method init

crates/stdlib/src/socket.rs:1402–1404  ·  view source on GitHub ↗
(zelf: PyRef<Self>, args: Self::Args, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1400 type Args = SocketInitArgs;
1401
1402 fn init(zelf: PyRef<Self>, args: Self::Args, vm: &VirtualMachine) -> PyResult<()> {
1403 Self::_init(zelf, args, vm).map_err(|e| e.into_pyexception(vm))
1404 }
1405 }
1406
1407 impl Representable for PySocket {

Callers

nothing calls this directly

Calls 1

into_pyexceptionMethod · 0.45

Tested by

no test coverage detected