o
    / h4  ã                   @   s&   d Z ddlmZ dedefd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                 C   sn   t | tƒrt | ttfƒrdS | D ]$}t |tƒrt |ttfƒr! dS |D ]}t |tƒr3t |tƒs3  dS q#qdS )z¡Checks 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Úinner© r
   úO/var/www/html/govbot/env/lib/python3.10/site-packages/telegram/_utils/markup.pyÚcheck_keyboard_type!   s   €þr   N)Ú__doc__Úcollections.abcr   ÚobjectÚboolr   r
   r
   r
   r   Ú<module>   s   