def __repr__(self):
        return "%s(%s)" % (
            self.__class__.__name__,
            ", ".join(
                [repr(arg) for arg in self.args] +
                ["%s=%r" % (k, v) for k, v in self.kwargs.items()]
            )
        )
dataset/ETHPy150Open mediawiki-utilities/python-mediawiki-utilities/mw/database/db.py/DB.__repr__/original