Skip to content
Snippets Groups Projects
Verified Commit 9cf63c61 authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: remove statement about 'with'

Avoid confusion, as the editors don't come with context managers.
parent 464d16cc
No related branches found
No related tags found
No related merge requests found
......@@ -28,12 +28,8 @@ the destructor, this reference count is decremented. When the count drops to
zero, the dependent information is updated.
In Python, one can not rely on the destructors being called. It is advised to
always put a call to :meth:`XCSEditor.UpdateICS` or
:meth:`ICSEditor.UpdateXCS` when the editing is finished. Alternatively,
starting from Python version 2.6, one can use the \
`with <http://docs.python.org/reference/compound_stmts.html#with>`_
statement to make sure the destructor are called and the dependent information
is updated.
always put a call to :meth:`XCSEditor.UpdateICS` or
:meth:`ICSEditor.UpdateXCS` when the editing is finished.
Basic Editing Operations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment