From: Anthony Geay Date: Thu, 13 Aug 2015 14:33:38 +0000 (+0200) Subject: Small doc X-Git-Tag: V7_7_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39e23c97e57963f0babab27f790d47baf51e1372;p=modules%2Fkernel.git Small doc --- 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)