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

Method slots

crates/vm/src/protocol/sequence.rs:134–136  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

132impl PySequence<'_> {
133 #[inline]
134 pub fn slots(&self) -> &PySequenceSlots {
135 &self.obj.class().slots.as_sequence
136 }
137
138 pub fn check(&self) -> bool {
139 self.slots().has_item()

Callers 10

checkMethod · 0.45
length_optMethod · 0.45
concatMethod · 0.45
repeatMethod · 0.45
inplace_concatMethod · 0.45
inplace_repeatMethod · 0.45
get_itemMethod · 0.45
_ass_itemMethod · 0.45
_ass_sliceMethod · 0.45
containsMethod · 0.45

Calls 1

classMethod · 0.45

Tested by

no test coverage detected