    def bind_url_default(self):
        """representation of URL used for binding

        Never used in APIs, only logging,
        since it can be non-connectable value, such as '', meaning all interfaces.
        """
        if self.ip in {'', '0.0.0.0', '::'}:
            return self.url.replace(self._connect_ip, self.ip or '*', 1)
        return self.url
representation of URL used for binding

Never used in APIs, only logging,
since it can be non-connectable value, such as '', meaning all interfaces.
jupyterhub/objects.py