Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/simplejson/__pycache__/errors.cpython-311.pyc
]j : d Z dgZd ZddZ G d de ZdS )z!Error classes used by simplejson
JSONDecodeErrorc | dd| dz }|dk r|dz }n|| dd| z
}||fS )N
)countrindex)docposlinenocolnos s/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/errors.pylinecolr sT
YYtQ
$
$q
(F
{{acjjq#...5= Nc t || \ }}| dt |||dz } |d}|| |||fz S t || \ }}d}|| ||||||fz 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 replacerepr) msgr r
endr r fmt endlinenoendcolnos r
errmsgr s C%%MFE
++dDSq[!122
3
3C
{/c65#...!#s++Ix
DC#vui3DDDr c e Zd ZdZddZd 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 0 t | t |||| || _ || _ || _ || _ t || \ | _ | _ |t || \ | _
| _ d S d\ | _
| _ d S )N)r )NN)
ValueError__init__r r r r
r r r r r r )selfr r r
r s r
r zJSONDecodeError.__init__( s D&c3C"@"@"@AAA")#s"3"3TZ?,3C,=,=)DNDMMM,6)DNDMMMr c D | j | j | j | j | j ffS N) __class__r r r
r )r s r
__reduce__zJSONDecodeError.__reduce__4 s ~$(DHdhGGGr r )__name__
__module____qualname____doc__r r! r r
r r sF
7
7
7
7H H H H Hr r )r% __all__r r r r r&