Dummy object that raises an ImportError if ctypes is not available. Raises ------ ImportError If ctypes is not available.
(*args, **kwds)
| 65 | |
| 66 | if ctypes is None: |
| 67 | def _dummy(*args, **kwds): |
| 68 | """ |
| 69 | Dummy object that raises an ImportError if ctypes is not available. |
| 70 | |
| 71 | Raises |
| 72 | ------ |
| 73 | ImportError |
| 74 | If ctypes is not available. |
| 75 | |
| 76 | """ |
| 77 | raise ImportError("ctypes is not available.") |
| 78 | load_library = _dummy |
| 79 | as_ctypes = _dummy |
| 80 | as_array = _dummy |
nothing calls this directly
no outgoing calls
no test coverage detected