Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pyoperators-0.11.1/pyoperators/iterative/core.py   pyoperators(Download)
import re
 
from ..utils import strenum, uninterruptible_if
from ..memory import empty
from .stopconditions import NoStopCondition
            self.initialize()
        for i in xrange(n):
            with uninterruptible_if(self.clean_interrupt):
                self._check_stop_conditions()
                self.niterations += 1

src/p/y/pyoperators-HEAD/pyoperators/iterative/core.py   pyoperators(Download)
import re
 
from ..utils import strenum, uninterruptible_if
from ..memory import empty
from .stopconditions import NoStopCondition
            self.initialize()
        for i in xrange(n):
            with uninterruptible_if(self.clean_interrupt):
                self._check_stop_conditions()
                self.niterations += 1