(self)
return self
Increments tracked fields occurrences count in shared state.
Increments tracked fields occurrences count in shared state.
Increments tracked fields occurrences count in shared state .
def __enter__(self):
        """
        Increments tracked fields occurrences count in shared state.
        """
        for f in self.fields:
            self.state.setdefault(f, 0)
            self.state[f] += 1
        return self
def __enter__ ( self ) : for f in self . fields : self . state . setdefault ( f , 0 ) self . state [ f ] += 1 return self