(obj)
| 429 | |
| 430 | |
| 431 | def _get_c_source_file(obj): |
| 432 | if issubclass(obj, numpy.generic): |
| 433 | return r"core/src/multiarray/scalartypes.c.src" |
| 434 | elif obj is numpy.ndarray: |
| 435 | return r"core/src/multiarray/arrayobject.c" |
| 436 | else: |
| 437 | # todo: come up with a better way to generate these |
| 438 | return None |
| 439 | |
| 440 | |
| 441 | def linkcode_resolve(domain, info): |