MCPcopy Index your code
hub / github.com/python/cpython / get_value

Function get_value

Lib/test/_test_multiprocessing.py:341–351  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

339#
340
341def get_value(self):
342 try:
343 return self.get_value()
344 except AttributeError:
345 try:
346 return self._Semaphore__value
347 except AttributeError:
348 try:
349 return self._value
350 except AttributeError:
351 raise NotImplementedError
352
353#
354# Testcases

Callers 2

test_notifyMethod · 0.70
test_notify_nMethod · 0.70

Calls 1

get_valueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…