MCPcopy Index your code
hub / github.com/python/cpython / add_cross_build_dir_option

Function add_cross_build_dir_option

Platforms/emscripten/__main__.py:644–655  ·  view source on GitHub ↗
(subcommand)

Source from the content-addressed store, hash-verified

642
643
644def add_cross_build_dir_option(subcommand):
645 subcommand.add_argument(
646 "--cross-build-dir",
647 action="store",
648 default=os.environ.get("CROSS_BUILD_DIR"),
649 dest="cross_build_dir",
650 help=(
651 "Path to the cross-build directory "
652 f"(default: {DEFAULT_CROSS_BUILD_DIR}). "
653 "Can also be set with the CROSS_BUILD_DIR environment variable.",
654 ),
655 )
656
657
658def main():

Callers 1

mainFunction · 0.85

Calls 2

add_argumentMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…