The bytes and tree last parsed for *path_str*, clearing the slot.
(path_str: str)
| 9267 | |
| 9268 | |
| 9269 | def take_python_parse(path_str: str) -> "tuple[bytes, object] | None": |
| 9270 | """The bytes and tree last parsed for *path_str*, clearing the slot.""" |
| 9271 | stashed = _PYTHON_PARSE_HANDOFF[:] |
| 9272 | _PYTHON_PARSE_HANDOFF.clear() |
| 9273 | if not stashed or stashed[0][0] != path_str: |
| 9274 | return None |
| 9275 | return stashed[0][1], stashed[0][2] |
| 9276 | |
| 9277 | |
| 9278 | def _extract_generic( |