Parse source files to get functions tagged by the given tag.
(tagname, api_dict)
| 502 | raise ValueError(msg) |
| 503 | |
| 504 | def get_api_functions(tagname, api_dict): |
| 505 | """Parse source files to get functions tagged by the given tag.""" |
| 506 | functions = [] |
| 507 | for f in API_FILES: |
| 508 | functions.extend(find_functions(f, tagname)) |
| 509 | dfunctions = [(api_dict[func.name][0], func) for func in functions] |
| 510 | dfunctions.sort() |
| 511 | return [a[1] for a in dfunctions] |
| 512 | |
| 513 | def fullapi_hash(api_dicts): |
| 514 | """Given a list of api dicts defining the numpy C API, compute a checksum |
no test coverage detected
searching dependent graphs…