(self)
return self.__database
The :class:`~pymongo.database.Database` that this
        :class:`Collection` is a part of.
The :class:`~pymongo.database.Database` that this
        :class:`Collection` is a part of.
The : class : ~pymongo . database . Database that this : class : Collection is a part of .
def database(self):
        """The :class:`~pymongo.database.Database` that this
        :class:`Collection` is a part of.
        """
        return self.__database
def database ( self ) : return self . __database