MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _init

Method _init

_pydevd_bundle/pydevd_constants.py:488–496  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

486 return self._lock.__exit__(exc_type, exc_val, exc_tb)
487
488 def _init(self):
489 if self._rlock:
490 self._lock = threading.RLock()
491 else:
492 self._lock = thread.allocate_lock()
493
494 self.acquire = self._lock.acquire
495 self.release = self._lock.release
496 _fork_safe_locks.append(weakref.ref(self))
497
498
499def after_fork():

Callers 2

__init__Method · 0.95
after_forkFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected