parameters: (self)
docstring: Return the codename of the OS distribution.
  
  
  
          For details, see :func:`distro.codename`.
function: def codename(self):
  
          """
  
          Return the codename of the OS distribution.
  
  
  
          For details, see :func:`distro.codename`.
  
          """
  
          try:
  
              # Handle os_release specially since distros might purposefully set
  
              # this to empty string to have no codename
  
              return self._os_release_info['codename']
  
          except KeyError:
  
              return self.lsb_release_attr('codename') \
  
                  or self.distro_release_attr('codename') \
  
                  or ''
function_tokens: def codename ( self ) : try : # Handle os_release specially since distros might purposefully set # this to empty string to have no codename return self . _os_release_info [ 'codename' ] except KeyError : return self . lsb_release_attr ( 'codename' ) or self . distro_release_attr ( 'codename' ) or ''