(self)
return c
Accept a connection on the bound socket or named pipe of `self`.

        Returns a `Connection` object.
Accept a connection on the bound socket or named pipe of `self`.
Accept a connection on the bound socket or named pipe of self .
def accept(self):
        '''
        Accept a connection on the bound socket or named pipe of `self`.

        Returns a `Connection` object.
        '''
        if self._listener is None:
            raise OSError('listener is closed')
        c = self._listener.accept()
        if self._authkey:
            deliver_challenge(c, self._authkey)
            answer_challenge(c, self._authkey)
        return c
def accept ( self ) : if self . _listener is None : raise OSError ( 'listener is closed' ) c = self . _listener . accept ( ) if self . _authkey : deliver_challenge ( c , self . _authkey ) answer_challenge ( c , self . _authkey ) return c