From 9cf63c61ab74770607ecbb78236ce248ac809c0d Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavier.robin@unibas.ch>
Date: Wed, 10 Jul 2024 11:06:27 +0200
Subject: [PATCH] doc: remove statement about 'with'

Avoid confusion, as the editors don't come with context managers.
---
 modules/mol/base/doc/editors.rst | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/modules/mol/base/doc/editors.rst b/modules/mol/base/doc/editors.rst
index 7dfc823d6..b07b939b1 100644
--- a/modules/mol/base/doc/editors.rst
+++ b/modules/mol/base/doc/editors.rst
@@ -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
-- 
GitLab