MCPcopy Create free account
hub / github.com/aio-libs/multidict / _parse_dir_path

Method _parse_dir_path

tools/upgrade_pythoncapi.py:683–687  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

681 "in subdirectories.")
682
683 def _parse_dir_path(self, path):
684 if os.path.isdir(path):
685 return path
686 else:
687 raise argparse.ArgumentTypeError(f"{path} is not a valid path")
688
689 def _parse_options(self, args):
690 parser = argparse.ArgumentParser(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected