def create_transport(host, connect_timeout, ssl=False):
 if ssl:
  return SSLTransport(host, connect_timeout, ssl)
 else:
  return TCPTransport(host, connect_timeout)

def create_transport ( host , connect_timeout , ssl = False ) : if ssl : return SSLTransport ( host , connect_timeout , ssl ) else : return TCPTransport ( host , connect_timeout )
given a few parameters from the connection constructor .