Method
__contains__
(
&self,
needle: Either<PyBytesInner, PyIntRef>,
vm: &VirtualMachine,
)
Source from the content-addressed store, hash-verified
| 236 | } |
| 237 | |
| 238 | fn __contains__( |
| 239 | &self, |
| 240 | needle: Either<PyBytesInner, PyIntRef>, |
| 241 | vm: &VirtualMachine, |
| 242 | ) -> PyResult<bool> { |
| 243 | self.inner.contains(needle, vm) |
| 244 | } |
| 245 | |
| 246 | #[pystaticmethod] |
| 247 | fn maketrans(from: PyBytesInner, to: PyBytesInner, vm: &VirtualMachine) -> PyResult<Vec<u8>> { |
Callers
nothing calls this directly
Tested by
no test coverage detected