

def inc(self, val=1):
    'increment counter by val (default is 1)'
    with val.lock:
        self.counter = (self.counter + val)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyformance-0.3.2/pyformance/meters/counter.py Counter.inc/VarMisuse@17/33 `self`->`val`