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

Method read

crates/stdlib/src/array.rs:713–715  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

711 )]
712 impl PyArray {
713 fn read(&self) -> PyRwLockReadGuard<'_, ArrayContentType> {
714 self.array.read()
715 }
716
717 fn write(&self) -> PyRwLockWriteGuard<'_, ArrayContentType> {
718 self.array.write()

Callers 15

py_newMethod · 0.45
typecodeMethod · 0.45
itemsizeMethod · 0.45
buffer_infoMethod · 0.45
countMethod · 0.45
extendMethod · 0.45
fromunicodeMethod · 0.45
tounicodeMethod · 0.45
frombytesMethod · 0.45
indexMethod · 0.45
tobytesMethod · 0.45
tofileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected