code: def accept(self):
          
          while 1:
              try:
                  sock, addr = self._sock.accept()
                  return (type(self)(sock,
                      keyfile=self.keyfile,
                      certfile=self.certfile,
                      server_side=True,
                      cert_reqs=self.cert_reqs,
                      ssl_version=self.ssl_version,
                      ca_certs=self.ca_certs,
                      do_handshake_on_connect=self.do_handshake_on_connect,
                      suppress_ragged_eofs=self.suppress_ragged_eofs,
                      ciphers=self.ciphers), addr)
              except socket.error, exc:
                  if exc.args[0] not in (errno.EAGAIN, errno.EWOULDBLOCK):
                      raise
                  sys.exc_clear()
                  self._wait_event(self.gettimeout())
docs: accept a connection attempt from a remote client
  
          returns a two-tuple with the ssl-context-wrapped connection,
          and the address of the remote client