MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / print_version

Method print_version

Lib/optparse.py:1610–1619  ·  view source on GitHub ↗

print_version(file : file = stdout) Print the version message for this program (self.version) to 'file' (default stdout). As with print_usage(), any occurrence of "%prog" in self.version is replaced by the current program's name. Does nothing if self.version is emp

(self, file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

take_actionMethod · 0.45

Calls 1

get_versionMethod · 0.95

Tested by

no test coverage detected