Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def cursor(self):
if 'registered' not in self.__dict__:
self.registered=True
register(self)
self.openiters = {}
return Cursor(apsw.Connection.cursor(self))