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

Method borrow_deque

crates/vm/src/stdlib/_collections.rs:49–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

47
48 impl PyDeque {
49 fn borrow_deque(&self) -> PyRwLockReadGuard<'_, VecDeque<PyObjectRef>> {
50 self.deque.read()
51 }
52
53 fn borrow_deque_mut(&self) -> PyRwLockWriteGuard<'_, VecDeque<PyObjectRef>> {
54 self.deque.write()

Callers 11

copyMethod · 0.80
reverseMethod · 0.80
__getitem__Method · 0.80
_mulMethod · 0.80
__len__Method · 0.80
concatMethod · 0.80
do_lockMethod · 0.80
as_numberMethod · 0.80
cmpMethod · 0.80
reprMethod · 0.80
nextMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected