(raise_=False)
| 2278 | |
| 2279 | |
| 2280 | def has_compiled_ext(raise_=False): |
| 2281 | from ._has_cython import HAS_CYEXTENSION |
| 2282 | |
| 2283 | if HAS_CYEXTENSION: |
| 2284 | return True |
| 2285 | elif raise_: |
| 2286 | raise ImportError( |
| 2287 | "cython extensions were expected to be installed, " |
| 2288 | "but are not present" |
| 2289 | ) |
| 2290 | else: |
| 2291 | return False |
| 2292 | |
| 2293 | |
| 2294 | def load_uncompiled_module(module: _M) -> _M: |
no outgoing calls