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

Function main

numpy/core/code_generators/verify_c_api_version.py:53–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52
53def main():
54 parser = argparse.ArgumentParser()
55 parser.add_argument(
56 "--api-version",
57 type=str,
58 help="C API version to verify (as a hex string)"
59 )
60 args = parser.parse_args()
61
62 check_api_version(int(args.api_version, base=16))
63
64
65if __name__ == "__main__":

Callers 1

Calls 1

check_api_versionFunction · 0.70

Tested by

no test coverage detected