MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / __exit__

Method __exit__

src/client/blocking/response/ws.rs:125–133  ·  view source on GitHub ↗
(
        &self,
        py: Python<'py>,
        _exc_type: &Bound<'py, PyAny>,
        _exc_value: &Bound<'py, PyAny>,
        _traceback: &Bound<'py, PyAny>,
    )

Source from the content-addressed store, hash-verified

123 }
124
125 fn __exit__<'py>(
126 &self,
127 py: Python<'py>,
128 _exc_type: &Bound<'py, PyAny>,
129 _exc_value: &Bound<'py, PyAny>,
130 _traceback: &Bound<'py, PyAny>,
131 ) -> PyResult<()> {
132 self.close(py, None, None)
133 }
134}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected