def __enter__(self):
    """When entering a 'with' block."""
    After._thread_init()
    After._local._after_all_futures.extend(self._futures)
def __enter__ ( self ) : After . _thread_init ( ) After . _local . _after_all_futures . extend ( self . _futures )
When entering a 'with' block.