
    Yi)                     @    S r SSKJr  S\S\S\4S jrS\S\S\4S	 jrg
)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                     U R                   R                   SSR                  S UR                  5        5       5       S3$ )zCreate ``__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   <   #    U  H  u  p[        X5      v   M     g 7f)N)
_stringify).0namevalues      ?/app/.venv/lib/python3.13/site-packages/telegram/_utils/repr.py	<genexpr>1build_repr_with_selected_attrs.<locals>.<genexpr>(   s     P+$j--s   ])	__class____name__joinitems)r   r   s     r   build_repr_with_selected_attrsr      s?     ==!!
"
DIIPPPQQR	T    keyvalc                 L    U  S[        U5      (       a  UR                   3$ U 3$ )N=)callable__qualname__)r   r   s     r   r
   r
   ,   s-    U!C$$?@@3?@@r   N)__doc__typingr   objectstrr   r
    r   r   <module>r#      sG   &  # # AC Ac Ac Ar   