+
     Bie=              	           ^ RI t ^ RIt^ RIt^ RIHt . ROtRsRRRRRRRRR/R	 lltR
 tR t	R t
R tR tR tR tR t ! R R4      tRRRR/R ltRR ltR t]R8X  d
   ]! 4        R# R# )    N)GenericAlias	FileInputmoderopenhookencodingerrorsc          
          \         '       d"   \         P                  '       d   \        R 4      h\        WW#VWVR7      s \         # )zinput() already active)r   r   r   r	   )_state_fileRuntimeErrorr   )filesinplacebackupr   r   r   r	   s   &&&$$$$ /usr/lib/python3.14/fileinput.pyinputr   N   s5     v&,,,344uv8 (9FM    c                  J    \         p R s V '       d   V P                  4        R # R # N)r   close)states    r   r   r   ]   s     EF r   c                  X    \         '       g   \        R 4      h\         P                  4       # zno active input())r   r   nextfile r   r   r   r   e   s"     6.//??r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   filenamer   r   r   r   r   s   s"    
 6.//??r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   linenor   r   r   r   r   |   s!     6.//==?r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   
filelinenor   r   r   r!   r!      s$     6.//r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   filenor   r   r   r#   r#      s!    
 6.//==?r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   isfirstliner   r   r   r%   r%      s$    
 6.//r   c                  X    \         '       g   \        R 4      h\         P                  4       # r   )r   r   isstdinr   r   r   r'   r'      s"    
 6.//>>r   c            	          a  ] tR t^t o RRRRRRRRR/R lltR tR	 tR
 tR tR t	R t
R tR tR tR tR tR tR tR tR t]! ]4      tRtV tR# )r   Nr   r   r   r   r	   c               $   \        V\        4      '       d   V3pMi\        V\        P                  4      '       d   \        P                  ! V4      3pM1Vf   \
        P                  R,          pV'       g   R
pM\        V4      pWn        W n	        W0n
        R V n        R V n        R V n        ^ V n        ^ V n        R V n        RV n        R V n        W`n        Wpn        \
        P*                  P,                  '       d+   RV9  d$   Vf    Vf   ^ R IpVP1                  R\2        ^4       VR9  d   \5        R4      hW@n        VP9                  RR4      V n        V'       d0   V'       d   \5        R4      h\=        V4      '       g   \5        R	4      hWPn        R # )N   NNFbz"'encoding' argument not specified.r   z*FileInput opening mode must be 'r' or 'rb'wz4FileInput cannot use an opening hook in inplace modez#FileInput openhook must be callable)-)r   rb) 
isinstancestrosPathLikefspathsysargvtuple_files_inplace_backup_savestdout_output	_filename_startlineno_filelinenor   _isstdin_backupfilename	_encoding_errorsflagswarn_default_encodingwarningswarnEncodingWarning
ValueError_modereplace_write_modecallable	_openhook)	selfr   r   r   r   r   r   r	   rF   s	   &&&&$$$$ r   __init__FileInput.__init__   sF   eS!!HEr{{++YYu%(E}e
#! II+++4H$49IMM>)1. {"IJJ
<<S1 !WXXH%% !FGG!r   c                &    V P                  4        R # r   r   rO   s   &r   __del__FileInput.__del__       

r   c                N     V P                  4        RV n        R #   RT n        i ; i)Nr   )r   r8   rT   s   &r   r   FileInput.close   s    	MMODK"DKs    	$c                    V # r   r   rT   s   &r   	__enter__FileInput.__enter__       r   c                &    V P                  4        R # r   rS   )rO   typevalue	tracebacks   &&&&r   __exit__FileInput.__exit__   rW   r   c                    V # r   r   rT   s   &r   __iter__FileInput.__iter__   r]   r   c                     V P                  4       pV'       d   V ;P                  ^,          un        V# V P                  '       g   \        hV P	                  4        K^  T)	_readliner?   r   StopIterationr   rO   lines   & r   __next__FileInput.__next__   sB    >>#D  A% :::##MMOr   c                (   V P                   pR V n         V'       d   V\        n        V P                  pR V n         V'       d   VP	                  4        V P
                  pR V n         V = V'       d#   V P                  '       g   VP	                  4        V P                  pR V n	        V'       d)   V P                  '       g   \        P                  ! V4       RV n        R #   \         d     Li ; i  \         d     L'i ; i  T P                  pR T n	        T'       dI   T P                  '       g7   \        P                  ! T4       RT n        i   \         d     RT n        i i ; iRT n        i ; i  T P
                  pR T n         T =M  \         d     Mi ; i T'       d#   T P                  '       g   TP	                  4        T P                  pR T n	        T'       d;   T P                  '       g)   \        P                  ! T4       M  \         d     Mi ; iRT n        i   T P                  pR T n	        T'       dI   T P                  '       g7   \        P                  ! T4       RT n        i   \         d     RT n        i i ; iRT n        i ; i; i)NF)r;   r5   stdoutr<   r   r   ri   AttributeErrorr@   rA   r:   r2   unlinkOSError)rO   
savestdoutoutputfilebackupfilenames   &    r   r   FileInput.nextfile  s   %%
#CJ	&::DDJN
&JJL!%!5!5'+$!$,,,>2 !& "  #(D(	 "&!5!5'+$!$,,,>2 !& #(D % ) %! ::DDJN! 
&JJL!%!5!5'+$!$,,,>2"(D( % "&!5!5'+$!$,,,>2 !& #(D % ) %s  E1 E1 'C  *D 2D D C1  C.-C.1C?>C?-E.0EE.E#	E."E##E.1JF	J	FJFJH"#H"5H",J2H	J	HJHJ"-JI.&J.J9	JJJJc                     V P                  4       pV'       d   V ;P                  ^,          un        V# V P                  '       g   V# V P                  4        KZ  rh   )ri   r?   r   r   rk   s   & r   readlineFileInput.readline"  sA    >>#D  A% :::MMOr   c                	   V P                   '       g   R V P                  9   d   R# R# V P                   ^ ,          V n        V P                   R,          V n         V P                  4       V n        ^ V n        RV n        RV n        ^ V n        R V P                  9  d   V P                  ;'       g    RpMRpV P                  R8X  df   RV n        R V P                  9   d0   \        \        P                  R	\        P                  4      V n        M\        P                  V n        R
V n        EMV P                  '       Ed   \        P                  ! V P                  4      V P                   ;'       g    R,           V n         \        P"                  ! V P                  4       \        P&                  ! V P                  V P                  4       \)        V P                  V P                  WP*                  R7      V n         \        P,                  ! V P                  P/                  4       4      P0                  p\        P2                  \        P4                  ,          \        P6                  ,          p\9        \        R4      '       d   V\        P:                  ,          p\        P(                  ! V P                  W24      p\        P<                  ! W@P>                  WP*                  R7      V n          \        PB                  ! V P                  V4       \        PD                  T n#        T P@                  \        n"        MV PH                  '       d~   V P                  f-   V PI                  V P                  V P                  4      V n        MtV PI                  V P                  V P                  V P                  V P*                  R7      V n        M1\)        V P                  V P                  WP*                  R7      V n        V P                  PJ                  V n&        V PM                  4       #   \$         d     ELi ; i  \$         d     EL6i ; i  \$         d6    \)        T P                  T P>                  YP*                  R7      T n          ELyi ; i)r,   r    r*   NFlocaler.   z<stdin>bufferTz.bakr   r	   O_BINARY)'r8   rJ   r=   r   r>   r?   r   r@   rA   rB   getattrr5   stdinr9   r2   r4   r:   rr   rs   renameopenrC   fstatr#   st_modeO_CREATO_WRONLYO_TRUNChasattrr   fdopenrL   r<   chmodrp   r;   rN   rz   ri   )rO   r   permr   fds   &    r   ri   FileInput._readline-  s   {{{djj Qkk"o KKM
  djj ~~11HH>>S &DNdjj $SYY#))D
 YY
 DM}}}IIdnn-1G1GH $IId223 		$..$*>*>?!$"6"6

+3LLJ
88DJJ$5$5$78@@D
 ::3bjj@Dr:..+<B#%99R1A1A6>||$UDL6 $':: !\\
 >>> ~~-%)^^DNNDJJ%O
%)^^ NNDJJX\XdXd &4 &f
 "&dnndjj8\h\h!iDJ,,~~M  * #   P#'8H8H19,,$PDLPs6   = P# :8Q ,!P5 #P21P25QQ<RRc                    V P                   # r   )r=   rT   s   &r   r   FileInput.filenamev  s    ~~r   c                <    V P                   V P                  ,           # r   )r>   r?   rT   s   &r   r   FileInput.linenoy  s      4#3#333r   c                    V P                   # r   r?   rT   s   &r   r!   FileInput.filelineno|  s    r   c                    V P                   '       d    V P                   P                  4       # R#   \         d    Ru # i ; i)r+   )r   r#   rI   rT   s   &r   r#   FileInput.fileno  s@    :::zz((** I  	s   0 A A c                     V P                   ^8H  # )r+   r   rT   s   &r   r%   FileInput.isfirstline  s    1$$r   c                    V P                   # r   )r@   rT   s   &r   r'   FileInput.isstdin  s    }}r   )r:   rA   rB   rC   r   r?   r=   r8   r9   r@   rJ   rN   r<   ri   r;   r>   rL   NFr}   )__name__
__module____qualname____firstlineno__rP   rU   r   r[   rb   re   rm   r   rz   ri   r   r   r!   r#   r%   r'   classmethodr   __class_getitem____static_attributes____classdictcell__)__classdict__s   @r   r   r      s     -"-"$(-"37-"@D-"^&<G R4 % $L1r   c                8   Vf
   RV9  d   Rp\         P                  P                  V 4      ^,          pVR8X  d   ^ R IpVP	                  W4      pM*VR8X  d   ^ R IpVP                  W4      pM\	        WW#R7      # RV9  d   \        P                  ! WbVR7      pV# )Nr,   r~   z.gzz.bz2r   )	r2   pathsplitextgzipr   bz2BZ2FileioTextIOWrapper)r   r   r   r	   extr   streamr   s   &&$$    r   hook_compressedr     s    CtO
''

8
$Q
'C
e|8*	X,HXEE $!!&FKMr   c                    a a V V3R  lpV# )c                     < \        WSSR 7      # )r   )r   )r   r   r   r	   s   &&r   r   hook_encoded.<locals>.openhook  s    HXfEEr   r   )r   r	   r   s   ff r   hook_encodedr     s    FOr   c            	         ^ RI p RpRpV P                  \        P                  R,          R4      w  r4V F  w  rVVR8X  d   RpVR8X  g   K  TpK  	  \        WAVR7       Fl  pVRR R	8X  d   VRR pVRR R
8X  d   VRR p\	        R\        4       \        4       \        4       \        4       ;'       d    R;'       g    RV3,          4       Kn  	  \	        R\        4       \        4       \        4       3,          4       R# )r   NFr*   zib:z-iTz-b)r   r   
z%d: %s[%d]%s %s*r}   z
%d: %s[%d]r   )	getoptr5   r6   r   printr   r   r!   r%   )r   r   r   optsargsoarl   s           r   _testr     s    GFsxx|U3JD9g9qf  dF;9T#2Yd9T#2Yd68XZ#.=#8#8S#>#>B#F F 	G <
 
,&(HJ
=
=>r   __main__)r   r   r   r   r   r!   r#   r%   r'   r   r   r   r   r   )r   r5   r2   typesr   __all__r   r   r   r   r   r   r!   r#   r%   r'   r   r   r   r   r   r   r   r   <module>r      s   H 
   
 d  $ c2 c2L T &? z	G r   