code: def send_and_wait_for_sent(self, stanza):
          
          warnings.warn(
              r"send_and_wait_for_sent is deprecated and will be removed in 1.0",
              DeprecationWarning,
              stacklevel=1,
          )
          yield from self._enqueue(stanza)
docs: Send the given `stanza` over the given :class:`StanzaStream` `stream`.
  
          .. deprecated:: 0.8
  
             This method will be removed in 1.0. Use :meth:`send` instead.