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

Method _f_rename

tables/node.py:593–601  ·  view source on GitHub ↗

Rename this node in place. Changes the name of a node to *newname* (a string). If a node with the same newname already exists and overwrite is true, recursively remove it before renaming.

(self, newname: str, overwrite: bool = False)

Source from the content-addressed store, hash-verified

591 self._g_update_dependent()
592
593 def _f_rename(self, newname: str, overwrite: bool = False) -> None:
594 """Rename this node in place.
595
596 Changes the name of a node to *newname* (a string). If a node with the
597 same newname already exists and overwrite is true, recursively remove
598 it before renaming.
599
600 """
601 self._f_move(newname=newname, overwrite=overwrite)
602
603 def _f_move(
604 self,

Callers 7

renameMethod · 0.45
renameMethod · 0.45
rename_nodeMethod · 0.45
tutorial1-2.pyFile · 0.45
tutorial1.pyFile · 0.45

Calls 1

_f_moveMethod · 0.95

Tested by 2