OwlCyberSecurity - MANAGER
Edit File: errors.cpython-37.opt-1.pyc
B ����VX�Y�������������������@���s0���d�Z�dgZdd��Zddd�ZG�dd��de�ZdS�) z!Error classes used by simplejson �JSONDecodeErrorc�������������C���s>���|���dd|�d�}|dkr$|d�}n||��dd|��}||fS�)N� ���������)�count�rindex)�doc�pos�lineno�colno��r����D/opt/alt/python37/lib64/python3.7/site-packages/simplejson/errors.py�linecol���s ���� r ���Nc������� ������C���sn���t�||�\}}|��dt|||d�����}�|d�krFd}||�|||f�S�t�||�\}}d}||�||||||f�S�)Nz%rr���z%s: line %d column %d (char %d)z8%s: line %d column %d - line %d column %d (char %d - %d))r ����replace�repr) �msgr���r����endr ���r ���Zfmt� endlineno�endcolnor���r���r����errmsg���s����r���c���������������@���s"���e�Zd�ZdZddd�Zdd��ZdS�)r���a���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���������� ���C���sn���t��|�t||||d���||�_||�_||�_||�_t||�\|�_|�_ |d�k r^t||�\|�_ |�_nd\|�_ |�_d�S�)N)r���)NN)� ValueError�__init__r���r���r���r���r���r ���r ���r ���r���r���)�selfr���r���r���r���r���r���r���r���(���s����zJSONDecodeError.__init__c�������������C���s���|�j�|�j|�j|�j|�jffS�)N)� __class__r���r���r���r���)r���r���r���r���� __reduce__4���s����zJSONDecodeError.__reduce__)N)�__name__� __module__�__qualname__�__doc__r���r���r���r���r���r���r������s��� )N)r����__all__r ���r���r���r���r���r���r���r����<module>���s���