MCPcopy Create free account
hub / github.com/numpy/numpy / _get_c_source_file

Function _get_c_source_file

doc/source/conf.py:431–438  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

429
430
431def _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
441def linkcode_resolve(domain, info):

Callers 1

linkcode_resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected