From 39e23c97e57963f0babab27f790d47baf51e1372 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 13 Aug 2015 16:33:38 +0200 Subject: [PATCH] Small doc --- src/SALOMESDS/SALOMEWrappedStdType.py | 1 + src/SALOMESDS/SalomeSDSClt.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SALOMESDS/SALOMEWrappedStdType.py b/src/SALOMESDS/SALOMEWrappedStdType.py index d81b9f0c7..4c16af30a 100644 --- a/src/SALOMESDS/SALOMEWrappedStdType.py +++ b/src/SALOMESDS/SALOMEWrappedStdType.py @@ -69,6 +69,7 @@ class List(WrappedType): @abc.abstractmethod def sort(self,*args): _raiseNow("sort") + # work on local copy @abc.abstractmethod def count(self,*args): _raiseNow("count") diff --git a/src/SALOMESDS/SalomeSDSClt.py b/src/SALOMESDS/SalomeSDSClt.py index 440a70c8f..47a5acb3f 100644 --- a/src/SALOMESDS/SalomeSDSClt.py +++ b/src/SALOMESDS/SalomeSDSClt.py @@ -144,7 +144,7 @@ class List(WrappedType,SALOMEWrappedStdType.List): def sort(self,*args): ret=Caller(self._var_ptr,"sort") return ret(*args) - + # work on local copy def count(self,*args): return self.local_copy().count(*args) -- 2.39.2