(func)
return wrapper
Decorator
    Make document modification atomic
Decorator
    Make document modification atomic
Decorator Make document modification atomic
def _atomicModification(func):
    """Decorator
    Make document modification atomic
    """
    def wrapper(*args, **kwargs):
        self = args[0]
        with self._qpart:  # pylint: disable=protected-access
            func(*args, **kwargs)
    return wrapper
def _atomicModification ( func ) : def wrapper ( * args , * * kwargs ) : self = args [ 0 ] with self . _qpart : # pylint: disable=protected-access func ( * args , * * kwargs ) return wrapper