Your IP : 18.222.111.44
3
\�8 � @ s� d dl Z d dlZdddddddd d
ddd
gZdad dd�Zdd� Zdd� Zdd� Zdd� Zdd� Z dd� Z
dd � Zdd
� ZG dd� d�Z
dd� Zd!dd
�Zdd� Zedkr�e� dS )"� N�input�close�nextfile�filename�lineno�
filelineno�fileno�isfirstline�isstdin� FileInput�hook_compressed�hook_encodedF� �rc C s( t rt jrtd��t| |||||�a t S )Nzinput() already active)�_state�_file�RuntimeErrorr )�files�inplace�backup�bufsize�mode�openhook� r �!/usr/lib64/python3.6/fileinput.pyr S s
c C s t } d a | r| j� d S )N)r r )�stater r r r a s c C s t std��t j� S )Nzno active input())r r r r r r r r i s
c C s t std��t j� S )Nzno active input())r r r r r r r r w s c C s t std��t j� S )Nzno active input())r r r r r r r r � s c C s t std��t j� S )Nzno active input())r r r r r r r r � s c C s t std��t j� S )Nzno active input())r r r r r r r r � s c C s t std��t j� S )Nzno active input())r r r r r r r r � s c C s t std��t j� S )Nzno active input())r r r
r r r r r
� s c @ s� e Zd Zd(dd�Zdd � Zd
d� Zdd
� Zdd� Zdd� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� ZdS ))r NFr r r c C s� t |t�r|f}n(|d kr(tjdd � }|s2d}nt|�}|| _|| _|| _|rhdd l}|j dt
dd� d | _d | _d | _
d| _d| _d | _d| _d | _|dkr�td��d
|kr�dd l}|j d
t
d� || _|r�|r�td��t|�s�td��|| _d S )N� �-r z!bufsize is deprecated and ignored� )�
stacklevelFr �rU�U�rbz=FileInput opening mode must be one of 'r', 'rU', 'U' and 'rb'z'U' mode is deprecatedz4FileInput cannot use an opening hook in inplace modez#FileInput openhook must be callable)r )r r r! r"