
    ij                        d Z ddlmZ ddlZddlmZ ddlmZ ddlm	Z	 dd	gZ
 e	ej                  d
      dd       Z e	ej                  d
      dd       Zy)z
Python polyfills for struct
    )annotationsN)Any)Buffer   )substitute_in_graphpackunpackT)can_constant_fold_throughc               .    t        j                  | g| S N)structr   )fmtvs     X/var/www/html/engine/venv/lib/python3.12/site-packages/torch/_dynamo/polyfills/struct.pyr   r      s    ;;sQ    c               .    t        j                  | |      S r   )r   r	   )formatbuffers     r   r	   r	      s    ==((r   )r   bytes | strr   r   returnbytes)r   r   r   r   r   ztuple[Any, ...])__doc__
__future__r   r   typingr   typing_extensionsr   
decoratorsr   __all__r   r	    r   r   <module>r      sj    #   $ ,  V[[DA  B  V]]dC) D)r   