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 ''

        Return the codename of the OS distribution.

        For details, see :func:`distro.codename`.
        
product/gradle-plugin/src/main/python/pip/_vendor/distro.py