def cursor(self, cursor=None):
        if cursor:
            return cursor(self)
        return self.cursorclass(self)
Initialize a DNS cache.
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/pymysql/connections.py/Connection.cursor--crossover with--dataset/ETHPy150Open catap/namebench/nb_third_party/dns/resolver.py/Cache.__init__