Skip to content

Commit

Permalink
fix #208, extend documentation (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de authored Oct 10, 2023
1 parent 94c4b75 commit de96295
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tricks/readonly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ a
│ └── a1a
└── a2

.. note::

It is important to use the ``_pre_*`` and **not** the ``_post_*`` methods.
An exception raised by `_pre_detach(parent)` and `_pre_attach(parent)` will **prevent** the tree structure to be updated.
The node keeps the old state.
An exception raised by `_post_detach(parent)` and `_post_attach(parent)` does **not rollback** the tree structure modification.


Temporary
---------
Expand Down

0 comments on commit de96295

Please sign in to comment.