Ë
    V.j  ã                   óð   — d dl mZmZmZmZmZmZmZmZ g d¢Z	 G d„ de
«      Z G d„ de«      Z G d„ de«      Z	 dd	ee   d
edededeeef   f
d„Z edd¬«      Z G d„ de«      Zdeeeeeef   defd„Zy)é    )ÚAnyÚDictÚNoReturnÚPatternÚTupleÚTypeÚTypeVarÚUnion)ÚProtocolErrorÚLocalProtocolErrorÚRemoteProtocolErrorÚvalidateÚbytesifyc                   ó&   — e Zd ZdZddededdfd„Zy)r   aM  Exception indicating a violation of the HTTP/1.1 protocol.

    This as an abstract base class, with two concrete base classes:
    :exc:`LocalProtocolError`, which indicates that you tried to do something
    that HTTP/1.1 says is illegal, and :exc:`RemoteProtocolError`, which
    indicates that the remote peer tried to do something that HTTP/1.1 says is
    illegal. See :ref:`error-handling` for details.

    In addition to the normal :exc:`Exception` features, it has one attribute:

    .. attribute:: error_status_hint

       This gives a suggestion as to what status code a server might use if
       this error occurred as part of a request.

       For a :exc:`RemoteProtocolError`, this is useful as a suggestion for
       how you might want to respond to a misbehaving peer, if you're
       implementing a server.

       For a :exc:`LocalProtocolError`, this can be taken as a suggestion for
       how your peer might have responded to *you* if h11 had allowed you to
       continue.

       The default is 400 Bad Request, a generic catch-all for protocol
       violations.

    ÚmsgÚerror_status_hintÚreturnNc                 óv   — t        | «      t        u rt        d«      ‚t        j	                  | |«       || _        y )Nz+tried to directly instantiate ProtocolError)Útyper   Ú	TypeErrorÚ	ExceptionÚ__init__r   )Úselfr   r   s      úKC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\h11/_util.pyr   zProtocolError.__init__)   s2   € Ü�‹:œÑ&ÜÐIÓJÐJÜ×Ñ˜4 Ô%Ø!2ˆÕó    )i�  )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚintr   © r   r   r   r      s!   „ ññ83˜Cð 3°Cð 3À$ô 3r   r   c                   ó   — e Zd Zdefd„Zy)r   r   c                 ó   — t         | _        | ‚©N)r   Ú	__class__©r   s    r   Ú!_reraise_as_remote_protocol_errorz4LocalProtocolError._reraise_as_remote_protocol_error<   s   € ô -ˆŒð ˆ
r   N)r   r   r   r   r(   r"   r   r   r   r   ;   s   „ ð°8ô r   r   c                   ó   — e Zd Zy)r   N)r   r   r   r"   r   r   r   r   P   s   „ Ør   r   ÚregexÚdatar   Úformat_argsr   c                 ó€   — | j                  |«      }|s|r |j                  |Ž }t        |«      ‚|j                  «       S r%   )Ú	fullmatchÚformatr   Ú	groupdict)r*   r+   r   r,   Úmatchs        r   r   r   T   s@   € ð �O‰O˜DÓ!€EÙÙØ�#—*‘*˜kÐ*ˆCÜ  Ó%Ð%Ø�?‰?ÓÐr   Ú_T_SentinelÚSentinel)Úboundc                   ó^   ‡ — e Zd Zdee   dedeedf   deee	f   de	defˆ fd„Z
defd	„Zˆ xZS )
r3   ÚclsÚnameÚbases.Ú	namespaceÚkwdsr   c                 óT   •— |t         fk(  sJ ‚t        ‰| �  | |||fi |¤Ž}||_        |S r%   )r3   ÚsuperÚ__new__r&   )r6   r7   r8   r9   r:   Úvr&   s         €r   r=   zSentinel.__new__l   s:   ø€ ð œ˜Ò#Ð#Ð#Ü‰G‰O˜C  u¨iÑ@¸4Ñ@ˆØˆŒØˆr   c                 ó   — | j                   S r%   )r   r'   s    r   Ú__repr__zSentinel.__repr__x   s   € Ø�}‰}Ðr   )r   r   r   r   r2   r    r   r   r   r   r=   r@   Ú__classcell__)r&   s   @r   r3   r3   k   sb   ø„ ð
Ø�+Ñð
àð
ð �T˜3�YÑð
ð ˜˜S˜‘>ð	
ð
 ð
ð 
õ
ð˜#÷ r   Úsc                 ó¶   — t        | «      t        u r| S t        | t        «      r| j	                  d«      } t        | t
        «      rt        d«      ‚t        | «      S )NÚasciiz#expected bytes-like object, not int)r   ÚbytesÚ
isinstancer    Úencoder!   r   )rB   s    r   r   r      sJ   € äˆAƒw”%ÑØˆÜ�!”SÔØ�H‰H�WÓˆÜ�!”SÔÜÐ=Ó>Ð>Ü�‹8€Or   N)zmalformed data)Útypingr   r   r   r   r   r   r	   r
   Ú__all__r   r   r   r   rE   r    r   r2   r   r3   Ú	bytearrayÚ
memoryviewr!   r   r"   r   r   Ú<module>rL      s·   ðß L× LÓ Lò€ô!3�Iô !3ô^˜ô ô*	˜-ô 	ð
 4DñØ�5‰>ðØ!&ðØ-0ðØSVðà	ˆ#ˆuˆ*Ñóñ( �m¨:Ô6€ôˆtô ð(��e˜Y¨
°C¸Ð<Ñ=ð À%ô r   