Viewing File: /opt/alt/python311/lib64/python3.11/json/__pycache__/decoder.cpython-311.opt-1.pyc
f0 d Z ddlZddlmZ ddlmZ n
# e$ r dZY nw xY wddgZej ej
z ej z Z e
d Z e
d Z e
d Z G d
de ZeeedZ ej de Zd
ddddddddZd Zdeej fdZepeZ ej de ZdZdej efdZej efdZ G d de ZdS )zImplementation of JSONDecoder
N)scanner)
scanstringJSONDecoderJSONDecodeErrornaninfz-infc e Zd ZdZd Zd 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
lineno: The line corresponding to pos
colno: The column corresponding to pos
c | dd| dz }|| dd| z
}d||||fz }t | | || _ || _ || _ || _ || _ d S )N
r z%s: line %d column %d (char %d)) countrfind
ValueError__init__msgdocposlinenocolno)selfr r r r r errmsgs 3/opt/alt/python311/lib64/python3.11/json/decoder.pyr zJSONDecodeError.__init__ s 4C((1,ciia---2c65#5NND&)))
c 8 | j | j | j | j ffS )N) __class__r r r )r s r
__reduce__zJSONDecodeError.__reduce__* s ~$(DH===r N)__name__
__module____qualname____doc__r r r r r r s<