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

Method typecode

crates/stdlib/src/array.rs:722–726  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

720
721 #[pygetset]
722 fn typecode(&self, vm: &VirtualMachine) -> PyStrRef {
723 vm.ctx
724 .intern_str(self.read().typecode().to_string())
725 .to_owned()
726 }
727
728 #[pygetset]
729 fn itemsize(&self) -> usize {

Callers 7

py_newMethod · 0.80
fromunicodeMethod · 0.80
tounicodeMethod · 0.80
__reduce_ex__Method · 0.80
__reduce__Method · 0.80
repr_strMethod · 0.80
_array_reconstructorFunction · 0.80

Calls 4

intern_strMethod · 0.80
to_stringMethod · 0.80
to_ownedMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected