parameters: ()
return_statement: return release
docstring: Format sys.version_info to produce the Sphinx version string used to install the chm docs
docstring_summary: Format sys.version_info to produce the Sphinx version string used to install the chm docs
docstring_tokens: Format sys . version_info to produce the Sphinx version string used to install the chm docs
function: def _sphinx_version():
      "Format sys.version_info to produce the Sphinx version string used to install the chm docs"
      major, minor, micro, level, serial = sys.version_info
      release = '%s%s' % (major, minor)
      if micro:
          release += '%s' % (micro,)
      if level == 'candidate':
          release += 'rc%s' % (serial,)
      elif level != 'final':
          release += '%s%s' % (level[0], serial)
      return release
function_tokens: def _sphinx_version ( ) : major , minor , micro , level , serial = sys . version_info release = '%s%s' % ( major , minor ) if micro : release += '%s' % ( micro , ) if level == 'candidate' : release += 'rc%s' % ( serial , ) elif level != 'final' : release += '%s%s' % ( level [ 0 ] , serial ) return release