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

Method __name__

crates/vm/src/builtins/generator.rs:52–54  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

50
51 #[pygetset]
52 fn __name__(&self) -> PyStrRef {
53 self.inner.name()
54 }
55
56 #[pygetset(setter)]
57 fn set___name__(&self, name: PyStrRef) {

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected