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

Method getattro

crates/vm/src/builtins/module.rs:437–439  ·  view source on GitHub ↗
(zelf: &Py<Self>, name: &Py<PyStr>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

435
436impl GetAttr for PyModule {
437 fn getattro(zelf: &Py<Self>, name: &Py<PyStr>, vm: &VirtualMachine) -> PyResult {
438 zelf.getattr_inner(name, vm)
439 }
440}
441
442impl Representable for PyModule {

Callers

nothing calls this directly

Calls 1

getattr_innerMethod · 0.80

Tested by

no test coverage detected