MCPcopy Create free account
hub / github.com/PyTables/PyTables / _g_close

Method _g_close

tables/table.py:3467–3478  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3465 )
3466
3467 def _g_close(self) -> None:
3468 # First, close the columns (ie possible indices open)
3469 for col in self._v_colnames:
3470 colobj = self._g_col(col)
3471 if isinstance(colobj, Column):
3472 colobj.close()
3473 # Delete the reference to column
3474 del self.__dict__[col]
3475 else:
3476 colobj._g_close()
3477
3478 self.__dict__.clear()
3479
3480 def __str__(self) -> str:
3481 """Return the string representation for this object."""

Callers 4

_f_closeMethod · 0.45
_f_closeMethod · 0.45
_f_closeMethod · 0.45
_close_nodesMethod · 0.45

Calls 3

_g_colMethod · 0.95
clearMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected