(o: *mut PyObject)
| 534 | #[cfg(not(any(Py_LIMITED_API, Py_3_12)))] |
| 535 | #[inline] |
| 536 | unsafe fn PyUnicode_IS_READY(o: *mut PyObject) -> bool { |
| 537 | let ready_bit = 1 << 7; |
| 538 | let state = (*(o as *mut PyASCIIObject)).state; |
| 539 | (state & ready_bit) != 0 |
| 540 | } |
| 541 | |
| 542 | #[cfg(not(Py_LIMITED_API))] |
| 543 | #[inline] |