
    i3                     &    d Z ddlmZ dedefdZdS )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                 H   t          | t                    rt          | t          t          z            rdS | D ]j}t          |t                    rt          |t          t          z            r dS |D ]0}t          |t                    rt          |t                    s  dS 1kdS )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      V/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_utils/markup.pycheck_keyboard_typer   "   s     h)) Z#+-N-N u  #x(( 	JsC%K,H,H 	55 	 	E%** :eS3I3I uuu	 4    N)__doc__collections.abcr   objectboolr    r   r   <module>r      sO   &
 
 % $ $ $ $ $& T      r   