MCPcopy Create free account
hub / github.com/pybind/pybind11 / __init__

Method __init__

tests/test_thread.py:13–16  ·  view source on GitHub ↗
(self, fn)

Source from the content-addressed store, hash-verified

11
12class Thread(threading.Thread):
13 def __init__(self, fn):
14 super().__init__()
15 self.fn = fn
16 self.e = None
17
18 def run(self):
19 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected