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

Method __module__

crates/vm/src/builtins/staticmethod.rs:105–107  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

103
104 #[pygetset]
105 fn __module__(&self, vm: &VirtualMachine) -> PyResult {
106 self.callable.lock().get_attr("__module__", vm)
107 }
108
109 #[pygetset]
110 fn __qualname__(&self, vm: &VirtualMachine) -> PyResult {

Callers 1

repr_strMethod · 0.45

Calls 2

get_attrMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected