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

Method get_latest_header

tools/upgrade_pythoncapi.py:665–668  ·  view source on GitHub ↗
(self, base_dir)

Source from the content-addressed store, hash-verified

663 self.exitcode = 1
664
665 def get_latest_header(self, base_dir):
666 target = os.path.join(base_dir, PYTHONCAPI_COMPAT_H)
667 self.log(f"Download the file from {PYTHONCAPI_COMPAT_URL} to {target}.")
668 urllib.request.urlretrieve(PYTHONCAPI_COMPAT_URL, target)
669
670 @staticmethod
671 def usage(parser):

Callers 1

mainMethod · 0.95

Calls 1

logMethod · 0.95

Tested by

no test coverage detected