
    <i                     4    S r S/rS rSS jr " S S\5      rg)z!Error classes used by simplejson
JSONDecodeErrorc                 z    U R                  SSU5      S-   nUS:X  a  US-   nX#4$ XR                  SSU5      -
  nX#4$ )N
       )countrindex)docposlinenocolnos       K/home/james-whalen/.local/lib/python3.13/site-packages/simplejson/errors.pylinecolr      sR    YYtQ$q(F{a = jjq#..=    Nc           	          [        X5      u  pEU R                  S[        XUS-    5      5      n Uc	  SnX`XEU4-  $ [        X5      u  pxSnX`XEXxX#4-  $ )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   fmt	endlinenoendcolnos	            r   errmsgr      sj    C%MF
++dDq!12
3C
{/6#...!#+I
DCvi3DDDr   c                   (    \ rS rSrSrSS jrS rSrg)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           
          [         R                  U [        XX4S95        Xl        X l        X0l        X@l        [        X#5      u  U l        U l	        Ub  [        X$5      u  U l
        U l        g Su  U l
        U l        g )N)r   )NN)
ValueError__init__r   r   r	   r
   r   r   r   r   r   r   )selfr   r	   r
   r   s        r   r   JSONDecodeError.__init__(   sf    D&3"@A")#"3TZ?,3C,=)DNDM,6)DNDMr   c                 v    U R                   U R                  U R                  U R                  U R                  44$ N)	__class__r   r	   r
   r   )r   s    r   
__reduce__JSONDecodeError.__reduce__4   s*    ~~$((DHHdhhGGGr   )r   r	   r   r   r   r   r   r
   r!   )__name__
__module____qualname____firstlineno____doc__r   r#   __static_attributes__ r   r   r   r      s    
7Hr   r!   )r)   __all__r   r   r   r   r+   r   r   <module>r-      s+   
EHj Hr   