def increment(self):
with self._lock:<EOL><INDENT>if self._is_finalized:<EOL><INDENT>raise RuntimeError(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL><DEDENT>self._count += <NUM_LIT:1><EOL><DEDENT>
Increment the count by one