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

Method metaclass

crates/derive-impl/src/util.rs:411–413  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

409 }
410
411 pub fn metaclass(&self) -> Result<Option<String>> {
412 self.inner()._optional_str("metaclass")
413 }
414
415 pub fn module(&self) -> Result<Option<String>> {
416 const KEY: &str = "module";

Callers 1

impl_pyclassFunction · 0.80

Calls 2

_optional_strMethod · 0.80
innerMethod · 0.45

Tested by

no test coverage detected