HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/lib/python3/dist-packages/simplejson/__pycache__/errors.cpython-38.pyc
U

�O5[��@s0dZdgZdd�Zddd�ZGdd�de�ZdS)	z!Error classes used by simplejson
�JSONDecodeErrorcCs>|�dd|�d}|dkr$|d}n||�dd|�}||fS)N�
��)�count�rindex)�doc�pos�lineno�colno�r�3/usr/lib/python3/dist-packages/simplejson/errors.py�linecols

r
Nc	Csnt||�\}}|�dt|||d���}|dkrFd}|||||fSt||�\}}d}||||||||fS)Nz%rrz%s: line %d column %d (char %d)z8%s: line %d column %d - line %d column %d (char %d - %d))r
�replace�repr)	�msgrr�endr	r
Zfmt�	endlineno�endcolnorrr�errmsgsrc@s"eZdZdZddd�Zdd�ZdS)ra�Subclass of ValueError with the following additional properties:

    msg: The unformatted error message
    doc: The JSON document being parsed
    pos: The start index of doc where parsing failed
    end: The end index of doc where parsing failed (may be None)
    lineno: The line corresponding to pos
    colno: The column corresponding to pos
    endlineno: The line corresponding to end (may be None)
    endcolno: The column corresponding to end (may be None)

    Nc	Csnt�|t||||d��||_||_||_||_t||�\|_|_	|dk	r^t||�\|_
|_nd\|_
|_dS)N)r)NN)�
ValueError�__init__rrrrrr
r	r
rr)�selfrrrrrrrr(szJSONDecodeError.__init__cCs|j|j|j|j|jffS)N)�	__class__rrrr)rrrr�
__reduce__4szJSONDecodeError.__reduce__)N)�__name__�
__module__�__qualname__�__doc__rrrrrrrs
)N)r�__all__r
rrrrrrr�<module>s