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

Method get_info

crates/stdlib/src/ssl.rs:5123–5126  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

5121
5122 #[pymethod]
5123 fn get_info(&self, vm: &VirtualMachine) -> PyResult {
5124 let cert = self.parse().map_err(|e| vm.new_value_error(e))?;
5125 cert::cert_to_dict(vm, &cert)
5126 }
5127 }
5128
5129 // Implement Comparable trait for PySSLCertificate

Callers

nothing calls this directly

Calls 2

cert_to_dictFunction · 0.50
parseMethod · 0.45

Tested by

no test coverage detected