code: def python_version(self):
          
          v = self.get('python-version', '')
          if v == '':
              v = "{}.{}".format(sys.version_info.major, sys.version_info.minor)
          return v
docs: Get the configured Python version.
  
          If this is not set in the config, then it defaults to the version of the current runtime.
  
          Returns: A string of the form "MAJOR.MINOR", e.g. "3.6".