(self)
| 324 | #[allow(non_snake_case)] // the Python keyword starts with uppercase |
| 325 | #[inline] |
| 326 | pub fn True(self) -> PyBool { |
| 327 | unsafe { PyObject::from_borrowed_ptr(self, ffi::Py_True()).unchecked_cast_into::<PyBool>() } |
| 328 | } |
| 329 | |
| 330 | /// Gets the Python builtin value `False`. |
| 331 | #[allow(non_snake_case)] // the Python keyword starts with uppercase |