curio/task.py
async def join(self):
        '''
        Wait for a task to terminate.  Returns the return value (if any)
        or raises a TaskError if the task crashed with an exception.
        '''
        await self.wait()
        if self.taskgroup:
            self.taskgroup._task_discard(self)
        self.joined = True
        if self.exception:
            raise TaskError('Task crash') from self.exception
        else:
            return self.result

        Wait for a task to terminate.  Returns the return value (if any)
        or raises a TaskError if the task crashed with an exception.
        
Wait for a task to terminate.  Returns the return value (if any)
or raises a TaskError if the task crashed with an exception.
Wait for a task to terminate . Returns the return value ( if any ) or raises a TaskError if the task crashed with an exception .
async def join(self):
        await self.wait()
        if self.taskgroup:
            self.taskgroup._task_discard(self)
        self.joined = True
        if self.exception:
            raise TaskError('Task crash') from self.exception
        else:
            return self.result
async def join ( self ) : await self . wait ( ) if self . taskgroup : self . taskgroup . _task_discard ( self ) self . joined = True if self . exception : raise TaskError ( 'Task crash' ) from self . exception else : return self . result
Wait for a task to terminate.
Wait for a task to terminate .
'''
        Wait for a task to terminate.  Returns the return value (if any)
        or raises a TaskError if the task crashed with an exception.
        '''
self