<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _atomicModification(func):
 """Decorator Make document modification atomic """

        def wrapper(*args, **kwargs):
            self = args[0]
            with self._qpart:
                func(*args, **kwargs)
        return wrapper