def cursor(self, cursorclass=None):
return (cursorclass or self.cursorclass)(self)<EOL>
Create a cursor on which queries may be performed. The
optional cursorclass parameter is used to create the
Cursor. By default, self.cursorclass=cursors.Cursor is
used.