def from_nvim(cls, nvim):
        """Create a new Nvim instance from an existing instance."""
        return cls(nvim._session, nvim.channel_id, nvim.metadata,
                   nvim.types, nvim._decode, nvim._err_cb)
def from_nvim ( cls , nvim ) : return cls ( nvim . _session , nvim . channel_id , nvim . metadata , nvim . types , nvim . _decode , nvim . _err_cb )
Create a new Nvim instance from an existing instance.