def version_parts(self, best=False):
version_str = self.version(best=best)<EOL>if version_str:<EOL><INDENT>version_regex = re.compile(r'<STR_LIT>')<EOL>matches = version_regex.match(version_str)<EOL>if matches:<EOL><INDENT>major, minor, build_number = matches.groups()<EOL>return major, minor or '<STR_LIT>', build_number or '<STR_LIT>'<EOL><DEDENT><DEDENT>return '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'<EOL>
Return the version of the OS distribution, as a tuple of version
numbers.

For details, see :func:`distro.version_parts`.