MCPcopy
hub / github.com/docker/docker-py / __str__

Method __str__

scripts/versions.py:54–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 return (int(self.major), int(self.minor), int(self.patch)) + stage
53
54 def __str__(self):
55 stage = f'-{self.stage}' if self.stage else ''
56 edition = f'-{self.edition}' if self.edition else ''
57 return '.'.join(map(str, self[:3])) + edition + stage
58
59
60def main():

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected