(o: *mut PyObject)
| 542 | #[cfg(not(Py_LIMITED_API))] |
| 543 | #[inline] |
| 544 | pub unsafe fn PyUnicode_READY(o: *mut PyObject) -> c_int { |
| 545 | debug_assert!(PyUnicode_Check(o) > 0); |
| 546 | #[cfg(Py_3_12)] |
| 547 | { |
| 548 | return 0; |
| 549 | } |
| 550 | #[cfg(not(Py_3_12))] |
| 551 | { |
| 552 | if PyUnicode_IS_READY(o) { |
| 553 | 0 |
| 554 | } else { |
| 555 | _PyUnicode_Ready(o) |
| 556 | } |
| 557 | } |
| 558 | } |
no test coverage detected