(self, fd)
Return the key associated to a given file descriptor.

        Parameters:
        fd -- file descriptor

        Returns:
        corresponding key, or None if not found
Return the key associated to a given file descriptor.
Return the key associated to a given file descriptor .
def _key_from_fd(self, fd):
        """Return the key associated to a given file descriptor.

        Parameters:
        fd -- file descriptor

        Returns:
        corresponding key, or None if not found
        """
        try:
            return self._fd_to_key[fd]
        except KeyError:
            return None
def _key_from_fd ( self , fd ) : try : return self . _fd_to_key [ fd ] except KeyError : return None