def __enter__(self):
        try:
            self.thread_local.count += 1
        except __HOLE__:
            self.thread_local.count = 1
dataset/ETHPy150Open enthought/comtypes/comtypes/safearray.py/_SafeArrayAsNdArrayContextManager.__enter__