MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_version

Method get_version

tools/python-3.11.9-amd64/Lib/optparse.py:1590–1594  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1588 print(self.get_usage(), file=file)
1589
1590 def get_version(self):
1591 if self.version:
1592 return self.expand_prog_name(self.version)
1593 else:
1594 return ""
1595
1596 def print_version(self, file=None):
1597 """print_version(file : file = stdout)

Callers 1

print_versionMethod · 0.95

Calls 1

expand_prog_nameMethod · 0.95

Tested by

no test coverage detected