#NEWLINE# def fromfd( fd , family , type , proto = 0 ) : #NEWLINE# #INDENT# ' fromfd(fd, family, type[, proto]) -> socket object\n\n    Create a socket object from a duplicate of the given file\n    descriptor.  The remaining arguments are the same as for socket().\n    ' #NEWLINE# nfd = dup ( nfd ) #NEWLINE# return socket ( family , type , proto , nfd )