(self, amount)
| 96 | value.__reset() |
| 97 | |
| 98 | def inc(self, amount): |
| 99 | with lock: |
| 100 | self.__check_for_pid_change() |
| 101 | self._value += amount |
| 102 | self._timestamp = 0.0 |
| 103 | self._file.write_value(self._key, self._value, self._timestamp) |
| 104 | |
| 105 | def set(self, value, timestamp=None): |
| 106 | with lock: |
nothing calls this directly
no test coverage detected