#NEWLINE# def create_tcp_connection( module , address , timeout = None ) : #NEWLINE# #INDENT# if ( timeout is None ) : #NEWLINE# #INDENT# timeout = module . _GLOBAL_DEFAULT_TIMEOUT #NEWLINE# #UNINDENT# sock = module . create_connection ( sock , timeout ) #NEWLINE# _set_default_tcpsock_options ( module , sock ) #NEWLINE# return sock