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

Class Value

Lib/multiprocessing/managers.py:1028–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026 return '%s(%s)' % (self.__class__.__name__, ', '.join(temp))
1027
1028class Value(object):
1029 def __init__(self, typecode, value, lock=True):
1030 self._typecode = typecode
1031 self._value = value
1032 def get(self):
1033 return self._value
1034 def set(self, value):
1035 self._value = value
1036 def __repr__(self):
1037 return '%s(%r, %r)'%(type(self).__name__, self._typecode, self._value)
1038 value = property(get, set)
1039
1040def Array(typecode, sequence, lock=True):
1041 return array.array(typecode, sequence)

Callers 1

ValueMethod · 0.70

Calls 1

propertyClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…