mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
@@ -472,6 +472,11 @@ mod _collections {
|
||||
self.borrow_deque().len()
|
||||
}
|
||||
|
||||
#[pymethod(magic)]
|
||||
fn bool(&self) -> bool {
|
||||
!self.borrow_deque().is_empty()
|
||||
}
|
||||
|
||||
#[pymethod(magic)]
|
||||
fn iadd(
|
||||
zelf: PyRef<Self>,
|
||||
|
||||
Reference in New Issue
Block a user