swift/proxy/controllers/obj.py
def best_bucket(self):
        """
        Return the best bucket in the collection.

        The "best" bucket is the newest timestamp with sufficient getters, or
        the closest to having sufficient getters, unless it is bettered by a
        bucket with potential alternate nodes.

        :return: An instance of :class:`~ECGetResponseBucket` or None if there
                 are no buckets in the collection.
        """
        sorted_buckets = self._sort_buckets()
        if sorted_buckets:
            return sorted_buckets[0]
        return None

        Return the best bucket in the collection.

        The "best" bucket is the newest timestamp with sufficient getters, or
        the closest to having sufficient getters, unless it is bettered by a
        bucket with potential alternate nodes.

        :return: An instance of :class:`~ECGetResponseBucket` or None if there
                 are no buckets in the collection.
        
Return the best bucket in the collection.
The "best" bucket is the newest timestamp with sufficient getters, or
the closest to having sufficient getters, unless it is bettered by a
bucket with potential alternate nodes.
Return the best bucket in the collection . The " best " bucket is the newest timestamp with sufficient getters or the closest to having sufficient getters unless it is bettered by a bucket with potential alternate nodes .
def best_bucket(self):
        sorted_buckets = self._sort_buckets()
        if sorted_buckets:
            return sorted_buckets[0]
        return None
def best_bucket ( self ) : sorted_buckets = self . _sort_buckets ( ) if sorted_buckets : return sorted_buckets [ 0 ] return None
Return the best bucket in the collection.
Return the best bucket in the collection .
"""
        Return the best bucket in the collection.

        The "best" bucket is the newest timestamp with sufficient getters, or
        the closest to having sufficient getters, unless it is bettered by a
        bucket with potential alternate nodes.

        :return: An instance of :class:`~ECGetResponseBucket` or None if there
                 are no buckets in the collection.
        """
An instance of :class:`~ECGetResponseBucket` or None if there
are no buckets in the collection.
An instance of : class : ` ~ECGetResponseBucket ` or None if there are no buckets in the collection .
self