parameters: (self)
docstring: major version number
docstring_summary: major version number
docstring_tokens: major version number
function: def major(self):
          "major version number"
          try:
              return self.__version[0]
          except IndexError:
              return None
function_tokens: def major ( self ) : try : return self . __version [ 0 ] except IndexError : return None