

def __repr__(self):
    try:
        value = self._semlock._get_value()
    except Exception:
        value = 'unknown'
    return ('<Semaphore(value=%s)>' % self)

dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/multiprocessing/synchronize.py Semaphore.__repr__/VarMisuse@39/57 `value`->`self`