Return whether *o* owns this lock.
(self, o)
| 56 | return not self.locked() or self.isowner(o) |
| 57 | |
| 58 | def isowner(self, o): |
| 59 | """Return whether *o* owns this lock.""" |
| 60 | return self._owner is o |
| 61 | |
| 62 | def locked(self): |
| 63 | """Return whether the lock is currently held by an owner.""" |
no outgoing calls
no test coverage detected