MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/threading.py:522–524  ·  view source on GitHub ↗
(self, value=1)

Source from the content-addressed store, hash-verified

520 """
521
522 def __init__(self, value=1):
523 Semaphore.__init__(self, value)
524 self._initial_value = value
525
526 def __repr__(self):
527 cls = self.__class__

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected