MCPcopy Create free account
hub / github.com/tox-dev/filelock / call

Function call

tests/read_write_helpers.py:107–115  ·  view source on GitHub ↗
(instance: _T)

Source from the content-addressed store, hash-verified

105 pending = True
106
107 def call(instance: _T) -> None:
108 nonlocal pending
109 if pending and before:
110 pending = False
111 raise Interrupt
112 real(instance)
113 if pending:
114 pending = False
115 raise Interrupt
116
117 return call
118

Calls

no outgoing calls