def _sync(self):
_logger.debug("<STR_LIT>")<EOL>self._lock.acquire_write()  <EOL>try:<EOL><INDENT>if self._loaded:<EOL><INDENT>self._dict.sync()<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>self._lock.release()<EOL><DEDENT>
Write persistent dictionary to disc.