MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / isowner

Method isowner

lib/matplotlib/widgets.py:58–60  ·  view source on GitHub ↗

Return whether *o* owns this lock.

(self, o)

Source from the content-addressed store, hash-verified

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."""

Callers 2

availableMethod · 0.95
on_releaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected