
    i*                     >    d Z ddlmZ dededefdZdededefd	Zd
S )a5  This module contains auxiliary functionality for building strings for __repr__ method.

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.
    )Anyobjkwargsreturnc                     | j         j         dd                    d |                                D                        dS )a  Create ``__repr__`` string in the style ``Classname[arg1=1, arg2=2]``.

    The square brackets emphasize the fact that an object cannot be instantiated
    from this string.

    Attributes that are to be used in the representation, are passed as kwargs.
    [z, c              3   <   K   | ]\  }}t          ||          V  d S )N)
_stringify).0namevalues      T/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_utils/repr.py	<genexpr>z1build_repr_with_selected_attrs.<locals>.<genexpr>)   s0      PP+$ju--PPPPPP    ])	__class____name__joinitems)r   r   s     r   build_repr_with_selected_attrsr      sU     =! 	T 	TIIPPPPPPP	T 	T 	Tr   keyvalc                 <    |  dt          |          r|j        n| S )N=)callable__qualname__)r   r   s     r   r
   r
   -   s)    @@>C$$3@@@r   N)__doc__typingr   objectstrr   r
    r   r   <module>r"      s   &        # #    AC Ac Ac A A A A A Ar   