MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / close

Method close

MySQLdb/cursors.py:90–94  ·  view source on GitHub ↗

Close the cursor. No further queries will be possible.

(self)

Source from the content-addressed store, hash-verified

88 self._result = None
89
90 def close(self):
91 """Close the cursor. No further queries will be possible."""
92 if self.connection is None or not dir(self.connection): return
93 while self.nextset(): pass
94 self.connection = None
95
96 def _check_executed(self):
97 if not self._executed:

Callers 15

__del__Method · 0.95
create_release_fileFunction · 0.80
mysql_configFunction · 0.80
_installFunction · 0.80
_build_eggFunction · 0.80
download_setuptoolsFunction · 0.80
_patch_fileFunction · 0.80
_patch_egg_dirFunction · 0.80
tearDownMethod · 0.80
test_connectMethod · 0.80
test_commitMethod · 0.80

Calls 1

nextsetMethod · 0.95

Tested by 15

test_connectMethod · 0.64
test_commitMethod · 0.64
test_cursorMethod · 0.64
test_cursor_isolationMethod · 0.64
test_descriptionMethod · 0.64
test_rowcountMethod · 0.64
test_callprocMethod · 0.64
test_closeMethod · 0.64
test_executeMethod · 0.64
test_executemanyMethod · 0.64
test_fetchoneMethod · 0.64
test_fetchmanyMethod · 0.64