parameters: (self)
return_statement: return ".".join(self.version.split(".")[0:2])
docstring: Return Python's major version, used in the executable name.
docstring_summary: Return Python's major version, used in the executable name.
docstring_tokens: Return Python s major version used in the executable name .
function: def major_version(self) -> str:
          """Return Python's major version, used in the executable name."""
          return ".".join(self.version.split(".")[0:2])
function_tokens: def major_version ( self ) -> str : return "." . join ( self . version . split ( "." ) [ 0 : 2 ] )