
    ՟f4                     $    d Z ddlmZ dedefdZy)a  This module contains a helper function for Telegram's ReplyMarkups

.. versionchanged:: 20.0
   Previously, the contents of this module were available through the (no longer existing)
   class ``telegram.ReplyMarkup``.

Warning:
    Contents of this module are intended to be used internally by the library and *not* by the
    user. Changes to this module are not considered breaking changes and may not be documented in
    the changelog.
    )Sequencekeyboardreturnc                    t        | t              rt        | t        t        f      ry| D ]U  }t        |t              rt        |t        t        f      r y|D ]&  }t        |t              st        |t              r%  y W y)zChecks if the keyboard provided is of the correct type - A sequence of sequences.
    Implicitly tested in the init-tests of `{Inline, Reply}KeyboardMarkup`
    FT)
isinstancer   strbytes)r   rowinners      Q/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_utils/markup.pycheck_keyboard_typer   !   sq     h)Z3,-O #x(JsS%L,I 	E%*:eS3I	     N)__doc__collections.abcr   objectboolr    r   r   <module>r      s"   &
 %& T r   