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

Method __call__

lib/matplotlib/widgets.py:42–46  ·  view source on GitHub ↗

Reserve the lock for *o*.

(self, o)

Source from the content-addressed store, hash-verified

40 self._owner = None
41
42 def __call__(self, o):
43 """Reserve the lock for *o*."""
44 if not self.available(o):
45 raise ValueError('already locked')
46 self._owner = o
47
48 def release(self, o):
49 """Release the lock from *o*."""

Callers

nothing calls this directly

Calls 1

availableMethod · 0.95

Tested by

no test coverage detected