Sets the parent node to the current node and clears the current node. Clearing the current node sets it *before* the first child, call :meth:`next` to advance to the first child. :return: ``True`` iff the pointers to the current/parent nodes are changed,
(self)
| 742 | return None |
| 743 | |
| 744 | def enter(self) -> bool: |
| 745 | """ |
| 746 | Sets the parent node to the current node and clears the current node. |
| 747 | Clearing the current node sets it *before* the first child, |
| 748 | call :meth:`next` to advance to the first child. |
| 749 | |
| 750 | :return: ``True`` iff the pointers to the current/parent nodes are changed, |
| 751 | ``False`` otherwise. |
| 752 | """ |
| 753 | return pn_data_enter(self._data) |
| 754 | |
| 755 | def exit(self) -> bool: |
| 756 | """ |