Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/werkzeug/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/werkzeug/__pycache__/user_agent.cpython-312.pyc

�

'ٜg���$�ddlmZGd�d�Zy)�)�annotationsc�z�eZdZUdZdZded<	dZded<	dZded<	dZded<	d
d�Z	dd	�Z
dd
�Zdd�Zdd�Z
y)�	UserAgenta�Represents a parsed user agent header value.

    The default implementation does no parsing, only the :attr:`string`
    attribute is set. A subclass may parse the string to set the
    common attributes or expose other information. Set
    :attr:`werkzeug.wrappers.Request.user_agent_class` to use a
    subclass.

    :param string: The header value to parse.

    .. versionadded:: 2.0
        This replaces the previous ``useragents`` module, but does not
        provide a built-in parser.
    Nz
str | None�platform�browser�version�languagec��||_y�N��string)�selfr
s  �>/usr/local/lib/python3.12/site-packages/werkzeug/user_agent.py�__init__zUserAgent.__init__ s��!���(�c�h�dt|�j�d|j�d|j�d�S)N�<� �/�>)�type�__name__rr�rs r�__repr__zUserAgent.__repr__$s0���4��:�&�&�'�q�����a����~�Q�G�Grc��|jSrrrs r�__str__zUserAgent.__str__'s���{�{�rc�,�t|j�Sr)�boolrrs r�__bool__zUserAgent.__bool__*s���D�L�L�!�!rc��|jS)zConvert to a header value.rrs r�	to_headerzUserAgent.to_header-s���{�{�r)r
�str�return�None)r#r")r#r)r�
__module__�__qualname__�__doc__r�__annotations__rrr	rrrrr!�rrrrsW��
� �H�j��=��G�Z��B��G�Z��E��H�j��F�)�H��"�rrN)�
__future__rrr)rr�<module>r+s��"�+�+r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists