# - _rmNode (pyTree) - import Converter.PyTree as C import Generator.PyTree as G import Converter.Internal as Internal t = C.newPyTree(['Base', 'Base2']) a = G.cart((0,0,0), (1,1,1), (10,10,10)) t[2][1][2] += [a] # rm the node a from t Internal._rmNode(t, a) #>> ['CGNSTree',None,[3 sons],'CGNSTree_t'] #>> |_['CGNSLibraryVersion',array([3.1],dtype='float64'),[0 son],'CGNSLibraryVersion_t'] #>> |_['Base',array(shape=(2,),dtype='int32',order='F'),[0 son],'CGNSBase_t'] #>> |_['Base2',array(shape=(2,),dtype='int32',order='F'),[0 son],'CGNSBase_t']