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

Method has_subscript

crates/vm/src/protocol/mapping.rs:32–34  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

30
31impl PyMappingSlots {
32 pub fn has_subscript(&self) -> bool {
33 self.subscript.load().is_some()
34 }
35
36 /// Copy from static PyMappingMethods
37 pub fn copy_from(&self, methods: &PyMappingMethods) {

Callers 1

checkMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected