def pop_scope(): """Pops the current active scope (created previously by push_scope) off the Octave call stack. The previous scope will become the active scope. If already at the top-level scope, this function does nothing. """ _pytave.pop_scope()
def __call__(self, *args, **kwargs): try: _pytave.push_scope() return self.func(*args, **kwargs) finally: _pytave.pop_scope()