/opt/alt/python33/lib64/python3.3/__pycache__
NameSizeModeActions
abc.cpython-33.pyc96150644editdlrm
abc.cpython-33.pyo95490644editdlrm
aifc.cpython-33.pyc361160644editdlrm
aifc.cpython-33.pyo361160644editdlrm
antigravity.cpython-33.pyc10690644editdlrm
antigravity.cpython-33.pyo10690644editdlrm
argparse.cpython-33.pyc940130644editdlrm
argparse.cpython-33.pyo938200644editdlrm
ast.cpython-33.pyc153870644editdlrm
ast.cpython-33.pyo153870644editdlrm
asynchat.cpython-33.pyc113410644editdlrm
asynchat.cpython-33.pyo113410644editdlrm
asyncore.cpython-33.pyc254730644editdlrm
asyncore.cpython-33.pyo254730644editdlrm
base64.cpython-33.pyc154590644editdlrm
base64.cpython-33.pyo151980644editdlrm
bdb.cpython-33.pyc260120644editdlrm
bdb.cpython-33.pyo260120644editdlrm
binhex.cpython-33.pyc191020644editdlrm
binhex.cpython-33.pyo191020644editdlrm
bisect.cpython-33.pyc33680644editdlrm
bisect.cpython-33.pyo33680644editdlrm
bz2.cpython-33.pyc192120644editdlrm
bz2.cpython-33.pyo192120644editdlrm
calendar.cpython-33.pyc387950644editdlrm
calendar.cpython-33.pyo387950644editdlrm
cgi.cpython-33.pyc369260644editdlrm
cgi.cpython-33.pyo369260644editdlrm
cgitb.cpython-33.pyc137890644editdlrm
cgitb.cpython-33.pyo137890644editdlrm
chunk.cpython-33.pyc64220644editdlrm
chunk.cpython-33.pyo64220644editdlrm
cmd.cpython-33.pyc160740644editdlrm
cmd.cpython-33.pyo160740644editdlrm
code.cpython-33.pyc117330644editdlrm
code.cpython-33.pyo117330644editdlrm
codecs.cpython-33.pyc464380644editdlrm
codecs.cpython-33.pyo464380644editdlrm
codeop.cpython-33.pyc76810644editdlrm
codeop.cpython-33.pyo76810644editdlrm
colorsys.cpython-33.pyc43710644editdlrm
colorsys.cpython-33.pyo43710644editdlrm
compileall.cpython-33.pyc87870644editdlrm
compileall.cpython-33.pyo87870644editdlrm
configparser.cpython-33.pyc608840644editdlrm
configparser.cpython-33.pyo608840644editdlrm
contextlib.cpython-33.pyc115140644editdlrm
contextlib.cpython-33.pyo115140644editdlrm
copy.cpython-33.pyc100400644editdlrm
copy.cpython-33.pyo99480644editdlrm
copyreg.cpython-33.pyc57480644editdlrm
copyreg.cpython-33.pyo57040644editdlrm
cProfile.cpython-33.pyc70830644editdlrm
cProfile.cpython-33.pyo70830644editdlrm
crypt.cpython-33.pyc30780644editdlrm
crypt.cpython-33.pyo30780644editdlrm
csv.cpython-33.pyc178400644editdlrm
csv.cpython-33.pyo178400644editdlrm
datetime.cpython-33.pyc780030644editdlrm
datetime.cpython-33.pyo756790644editdlrm
decimal.cpython-33.pyc2127810644editdlrm
decimal.cpython-33.pyo2127810644editdlrm
difflib.cpython-33.pyc698400644editdlrm
difflib.cpython-33.pyo697890644editdlrm
dis.cpython-33.pyc112330644editdlrm
dis.cpython-33.pyo112330644editdlrm
doctest.cpython-33.pyc985250644editdlrm
doctest.cpython-33.pyo981630644editdlrm
dummy_threading.cpython-33.pyc13630644editdlrm
dummy_threading.cpython-33.pyo13630644editdlrm
filecmp.cpython-33.pyc113310644editdlrm
filecmp.cpython-33.pyo113310644editdlrm
fileinput.cpython-33.pyc177440644editdlrm
fileinput.cpython-33.pyo177440644editdlrm
fnmatch.cpython-33.pyc38210644editdlrm
fnmatch.cpython-33.pyo38210644editdlrm
formatter.cpython-33.pyc274240644editdlrm
formatter.cpython-33.pyo274240644editdlrm
fractions.cpython-33.pyc242130644editdlrm
fractions.cpython-33.pyo242130644editdlrm
ftplib.cpython-33.pyc450290644editdlrm
ftplib.cpython-33.pyo450290644editdlrm
functools.cpython-33.pyc158210644editdlrm
functools.cpython-33.pyo158210644editdlrm
genericpath.cpython-33.pyc37650644editdlrm
genericpath.cpython-33.pyo37650644editdlrm
getopt.cpython-33.pyc81130644editdlrm
getopt.cpython-33.pyo80680644editdlrm
getpass.cpython-33.pyc55560644editdlrm
getpass.cpython-33.pyo55560644editdlrm
gettext.cpython-33.pyc209130644editdlrm
gettext.cpython-33.pyo209130644editdlrm
glob.cpython-33.pyc32930644editdlrm
glob.cpython-33.pyo32930644editdlrm
gzip.cpython-33.pyc248760644editdlrm
gzip.cpython-33.pyo248160644editdlrm
hashlib.cpython-33.pyc62060644editdlrm
hashlib.cpython-33.pyo62060644editdlrm
heapq.cpython-33.pyc162350644editdlrm
heapq.cpython-33.pyo162350644editdlrm
hmac.cpython-33.pyc58170644editdlrm
hmac.cpython-33.pyo58170644editdlrm
imaplib.cpython-33.pyc569950644editdlrm
imaplib.cpython-33.pyo537260644editdlrm
imghdr.cpython-33.pyc55300644editdlrm
imghdr.cpython-33.pyo55300644editdlrm
imp.cpython-33.pyc125770644editdlrm
imp.cpython-33.pyo125770644editdlrm
inspect.cpython-33.pyc817110644editdlrm
inspect.cpython-33.pyo817110644editdlrm
io.cpython-33.pyc42830644editdlrm
io.cpython-33.pyo42830644editdlrm
ipaddress.cpython-33.pyc817980644editdlrm
ipaddress.cpython-33.pyo817980644editdlrm
keyword.cpython-33.pyc22100644editdlrm
keyword.cpython-33.pyo22100644editdlrm
linecache.cpython-33.pyc38700644editdlrm
linecache.cpython-33.pyo38700644editdlrm
locale.cpython-33.pyc538620644editdlrm
locale.cpython-33.pyo538620644editdlrm
lzma.cpython-33.pyc186630644editdlrm
lzma.cpython-33.pyo186630644editdlrm
macpath.cpython-33.pyc80210644editdlrm
macpath.cpython-33.pyo80210644editdlrm
macurl2path.cpython-33.pyc25610644editdlrm
macurl2path.cpython-33.pyo25610644editdlrm
mailbox.cpython-33.pyc992890644editdlrm
mailbox.cpython-33.pyo991500644editdlrm
mailcap.cpython-33.pyc81150644editdlrm
mailcap.cpython-33.pyo81150644editdlrm
mimetypes.cpython-33.pyc202480644editdlrm
mimetypes.cpython-33.pyo202480644editdlrm
modulefinder.cpython-33.pyc228520644editdlrm
modulefinder.cpython-33.pyo227700644editdlrm
netrc.cpython-33.pyc55220644editdlrm
netrc.cpython-33.pyo55220644editdlrm
nntplib.cpython-33.pyc469840644editdlrm
nntplib.cpython-33.pyo469840644editdlrm
ntpath.cpython-33.pyc176360644editdlrm
ntpath.cpython-33.pyo176360644editdlrm
nturl2path.cpython-33.pyc20830644editdlrm
nturl2path.cpython-33.pyo20830644editdlrm
numbers.cpython-33.pyc188590644editdlrm
numbers.cpython-33.pyo188590644editdlrm
opcode.cpython-33.pyc59710644editdlrm
opcode.cpython-33.pyo59710644editdlrm
optparse.cpython-33.pyc707610644editdlrm
optparse.cpython-33.pyo706780644editdlrm
os.cpython-33.pyc384310644editdlrm
os.cpython-33.pyo384310644editdlrm
os2emxpath.cpython-33.pyc52380644editdlrm
os2emxpath.cpython-33.pyo52380644editdlrm
pdb.cpython-33.pyc629640644editdlrm
pdb.cpython-33.pyo628920644editdlrm
pickle.cpython-33.pyc531300644editdlrm
pickle.cpython-33.pyo528970644editdlrm
pickletools.cpython-33.pyc675040644editdlrm
pickletools.cpython-33.pyo663350644editdlrm
pipes.cpython-33.pyc101470644editdlrm
pipes.cpython-33.pyo101470644editdlrm
pkgutil.cpython-33.pyc233760644editdlrm
pkgutil.cpython-33.pyo233760644editdlrm
platform.cpython-33.pyc404530644editdlrm
platform.cpython-33.pyo404530644editdlrm
plistlib.cpython-33.pyc235430644editdlrm
plistlib.cpython-33.pyo234490644editdlrm
poplib.cpython-33.pyc146030644editdlrm
poplib.cpython-33.pyo146030644editdlrm
posixpath.cpython-33.pyc136890644editdlrm
posixpath.cpython-33.pyo136890644editdlrm
pprint.cpython-33.pyc133000644editdlrm
pprint.cpython-33.pyo131230644editdlrm
profile.cpython-33.pyc187800644editdlrm
profile.cpython-33.pyo184890644editdlrm
pstats.cpython-33.pyc323010644editdlrm
pstats.cpython-33.pyo323010644editdlrm
pty.cpython-33.pyc57950644editdlrm
pty.cpython-33.pyo57950644editdlrm
pyclbr.cpython-33.pyc110450644editdlrm
pyclbr.cpython-33.pyo110450644editdlrm
pydoc.cpython-33.pyc1225580644editdlrm
pydoc.cpython-33.pyo1224800644editdlrm
py_compile.cpython-33.pyc76990644editdlrm
py_compile.cpython-33.pyo76990644editdlrm
queue.cpython-33.pyc120380644editdlrm
queue.cpython-33.pyo120380644editdlrm
quopri.cpython-33.pyc79970644editdlrm
quopri.cpython-33.pyo76870644editdlrm
random.cpython-33.pyc237740644editdlrm
random.cpython-33.pyo237740644editdlrm
re.cpython-33.pyc164520644editdlrm
re.cpython-33.pyo164520644editdlrm
reprlib.cpython-33.pyc83140644editdlrm
reprlib.cpython-33.pyo83140644editdlrm
rlcompleter.cpython-33.pyc64760644editdlrm
rlcompleter.cpython-33.pyo64760644editdlrm
runpy.cpython-33.pyc104850644editdlrm
runpy.cpython-33.pyo104850644editdlrm
sched.cpython-33.pyc82470644editdlrm
sched.cpython-33.pyo82470644editdlrm
shelve.cpython-33.pyc127620644editdlrm
shelve.cpython-33.pyo127620644editdlrm
shlex.cpython-33.pyc93940644editdlrm
shlex.cpython-33.pyo93940644editdlrm
shutil.cpython-33.pyc413740644editdlrm
shutil.cpython-33.pyo413740644editdlrm
site.cpython-33.pyc255970644editdlrm
site.cpython-33.pyo255970644editdlrm
smtpd.cpython-33.pyc343270644editdlrm
smtpd.cpython-33.pyo343270644editdlrm
smtplib.cpython-33.pyc411750644editdlrm
smtplib.cpython-33.pyo410810644editdlrm
sndhdr.cpython-33.pyc85480644editdlrm
sndhdr.cpython-33.pyo85480644editdlrm
socket.cpython-33.pyc184350644editdlrm
socket.cpython-33.pyo183820644editdlrm
socketserver.cpython-33.pyc313750644editdlrm
socketserver.cpython-33.pyo313750644editdlrm
sre_compile.cpython-33.pyc123190644editdlrm
sre_compile.cpython-33.pyo121380644editdlrm
sre_constants.cpython-33.pyc64920644editdlrm
sre_constants.cpython-33.pyo64920644editdlrm
sre_parse.cpython-33.pyc255610644editdlrm
sre_parse.cpython-33.pyo255610644editdlrm
ssl.cpython-33.pyc282640644editdlrm
ssl.cpython-33.pyo282640644editdlrm
stat.cpython-33.pyc45830644editdlrm
stat.cpython-33.pyo45830644editdlrm
string.cpython-33.pyc103350644editdlrm
string.cpython-33.pyo103350644editdlrm
stringprep.cpython-33.pyc161030644editdlrm
stringprep.cpython-33.pyo160310644editdlrm
struct.cpython-33.pyc4070644editdlrm
struct.cpython-33.pyo4070644editdlrm
subprocess.cpython-33.pyc559780644editdlrm
subprocess.cpython-33.pyo558450644editdlrm
sunau.cpython-33.pyc236770644editdlrm
sunau.cpython-33.pyo236770644editdlrm
symbol.cpython-33.pyc30490644editdlrm
symbol.cpython-33.pyo30490644editdlrm
symtable.cpython-33.pyc173490644editdlrm
symtable.cpython-33.pyo172120644editdlrm
sysconfig.cpython-33.pyc223060644editdlrm
sysconfig.cpython-33.pyo223060644editdlrm
tabnanny.cpython-33.pyc101820644editdlrm
tabnanny.cpython-33.pyo101820644editdlrm
tarfile.cpython-33.pyc881300644editdlrm
tarfile.cpython-33.pyo881300644editdlrm
telnetlib.cpython-33.pyc271230644editdlrm
telnetlib.cpython-33.pyo271230644editdlrm
tempfile.cpython-33.pyc308500644editdlrm
tempfile.cpython-33.pyo308500644editdlrm
textwrap.cpython-33.pyc141750644editdlrm
textwrap.cpython-33.pyo140830644editdlrm
this.cpython-33.pyc14290644editdlrm
this.cpython-33.pyo14290644editdlrm
threading.cpython-33.pyc496310644editdlrm
threading.cpython-33.pyo487700644editdlrm
timeit.cpython-33.pyc136170644editdlrm
timeit.cpython-33.pyo136170644editdlrm
token.cpython-33.pyc43970644editdlrm
token.cpython-33.pyo43970644editdlrm
tokenize.cpython-33.pyc246200644editdlrm
tokenize.cpython-33.pyo245640644editdlrm
trace.cpython-33.pyc316190644editdlrm
trace.cpython-33.pyo315560644editdlrm
traceback.cpython-33.pyc145130644editdlrm
traceback.cpython-33.pyo145130644editdlrm
tty.cpython-33.pyc14790644editdlrm
tty.cpython-33.pyo14790644editdlrm
types.cpython-33.pyc37690644editdlrm
types.cpython-33.pyo37690644editdlrm
uu.cpython-33.pyc48760644editdlrm
uu.cpython-33.pyo48760644editdlrm
uuid.cpython-33.pyc259170644editdlrm
uuid.cpython-33.pyo258390644editdlrm
warnings.cpython-33.pyc158380644editdlrm
warnings.cpython-33.pyo148810644editdlrm
wave.cpython-33.pyc250250644editdlrm
wave.cpython-33.pyo248170644editdlrm
weakref.cpython-33.pyc184420644editdlrm
weakref.cpython-33.pyo184420644editdlrm
webbrowser.cpython-33.pyc261110644editdlrm
webbrowser.cpython-33.pyo260660644editdlrm
xdrlib.cpython-33.pyc125230644editdlrm
xdrlib.cpython-33.pyo125230644editdlrm
zipfile.cpython-33.pyc590100644editdlrm
zipfile.cpython-33.pyo589450644editdlrm
_compat_pickle.cpython-33.pyc55060644editdlrm
_compat_pickle.cpython-33.pyo55060644editdlrm
_dummy_thread.cpython-33.pyc60490644editdlrm
_dummy_thread.cpython-33.pyo60490644editdlrm
_markupbase.cpython-33.pyc114560644editdlrm
_markupbase.cpython-33.pyo112400644editdlrm
_osx_support.cpython-33.pyc138340644editdlrm
_osx_support.cpython-33.pyo138340644editdlrm
_pyio.cpython-33.pyc853190644editdlrm
_pyio.cpython-33.pyo852930644editdlrm
_strptime.cpython-33.pyc196490644editdlrm
_strptime.cpython-33.pyo196490644editdlrm
_sysconfigdata.cpython-33.pyc236720644editdlrm
_sysconfigdata.cpython-33.pyo236720644editdlrm
_threading_local.cpython-33.pyc87250644editdlrm
_threading_local.cpython-33.pyo87250644editdlrm
_weakrefset.cpython-33.pyc133080644editdlrm
_weakrefset.cpython-33.pyo133080644editdlrm
__future__.cpython-33.pyc50110644editdlrm
__future__.cpython-33.pyo50110644editdlrm
__phello__.cpython-33.pyc1460644editdlrm
__phello__.cpython-33.pyo1460644editdlrm
Edit: /opt/alt/python33/lib64/python3.3/__pycache__/fileinput.cpython-33.pyc (17744B)
f7c @sdZddlZddlZddddddd d d g Zdad"Zdd#ddddddZddZ ddZ ddZ ddZ ddZ ddZdd Zdd ZGdd d ZddZddZdd Zed!krendS($u5Helper class to quickly write a loop over all standard input files. Typical use is: import fileinput for line in fileinput.input(): process(line) This iterates over the lines of all files listed in sys.argv[1:], defaulting to sys.stdin if the list is empty. If a filename is '-' it is also replaced by sys.stdin. To specify an alternative list of filenames, pass it as the argument to input(). A single file name is also allowed. Functions filename(), lineno() return the filename and cumulative line number of the line that has just been read; filelineno() returns its line number in the current file; isfirstline() returns true iff the line just read is the first line of its file; isstdin() returns true iff the line was read from sys.stdin. Function nextfile() closes the current file so that the next iteration will read the first line from the next file (if any); lines not read from the file will not count towards the cumulative line count; the filename is not changed until after the first line of the next file has been read. Function close() closes the sequence. Before any lines have been read, filename() returns None and both line numbers are zero; nextfile() has no effect. After all lines have been read, filename() and the line number functions return the values pertaining to the last line read; nextfile() has no effect. All files are opened in text mode by default, you can override this by setting the mode parameter to input() or FileInput.__init__(). If an I/O error occurs during opening or reading a file, the IOError exception is raised. If sys.stdin is used more than once, the second and further use will return no lines, except perhaps for interactive use, or if it has been explicitly reset (e.g. using sys.stdin.seek(0)). Empty files are opened and immediately closed; the only time their presence in the list of filenames is noticeable at all is when the last file opened is empty. It is possible that the last line of a file doesn't end in a newline character; otherwise lines are returned including the trailing newline. Class FileInput is the implementation; its methods filename(), lineno(), fileline(), isfirstline(), isstdin(), nextfile() and close() correspond to the functions in the module. In addition it has a readline() method which returns the next input line, and a __getitem__() method which implements the sequence behavior. The sequence must be accessed in strictly sequential order; sequence access and readline() cannot be mixed. Optional in-place filtering: if the keyword argument inplace=1 is passed to input() or to the FileInput constructor, the file is moved to a backup file and standard output is directed to the input file. This makes it possible to write a filter that rewrites its input file in place. If the keyword argument backup="." is also given, it specifies the extension for the backup file, and the backup file remains around; by default, the extension is ".bak" and it is deleted when the output file is closed. In-place filtering is disabled when standard input is read. XXX The current implementation does not work for MS-DOS 8+3 filesystems. Performance: this module is unfortunately one of the slower ways of processing large numbers of input lines. Nevertheless, a significant speed-up has been obtained by using readlines(bufsize) instead of readline(). A new keyword argument, bufsize=N, is present on the input() function and the FileInput() class to override the default buffer size. XXX Possible additions: - optional getopt argument processing - isatty() - read(), read(size), even readlines() iNuinputucloseunextfileufilenameulinenou filelinenou isfirstlineuisstdinu FileInputiiuurcCs=trtjrtdnt||||||atS(uReturn an instance of the FileInput class, which can be iterated. The parameters are passed to the constructor of the FileInput class. The returned instance, in addition to being an iterator, keeps global state for the functions of this module,. uinput() already active(u_stateu_fileu RuntimeErroru FileInput(ufilesuinplaceubackupubufsizeumodeuopenhook((u./opt/alt/python33/lib64/python3.3/fileinput.pyuinput[s cCs#t}da|r|jndS(uClose the sequence.N(u_stateuNoneuclose(ustate((u./opt/alt/python33/lib64/python3.3/fileinput.pyucloseiscCststdntjS(u Close the current file so that the next iteration will read the first line from the next file (if any); lines not read from the file will not count towards the cumulative line count. The filename is not changed until after the first line of the next file has been read. Before the first line has been read, this function has no effect; it cannot be used to skip the first file. After the last line of the last file has been read, this function has no effect. uno active input()(u_stateu RuntimeErrorunextfile(((u./opt/alt/python33/lib64/python3.3/fileinput.pyunextfileqs cCststdntjS(ur Return the name of the file currently being read. Before the first line has been read, returns None. uno active input()(u_stateu RuntimeErrorufilename(((u./opt/alt/python33/lib64/python3.3/fileinput.pyufilenamescCststdntjS(u Return the cumulative line number of the line that has just been read. Before the first line has been read, returns 0. After the last line of the last file has been read, returns the line number of that line. uno active input()(u_stateu RuntimeErrorulineno(((u./opt/alt/python33/lib64/python3.3/fileinput.pyulinenoscCststdntjS(u Return the line number in the current file. Before the first line has been read, returns 0. After the last line of the last file has been read, returns the line number of that line within the file. uno active input()(u_stateu RuntimeErroru filelineno(((u./opt/alt/python33/lib64/python3.3/fileinput.pyu filelinenoscCststdntjS(ug Return the file number of the current file. When no file is currently opened, returns -1. uno active input()(u_stateu RuntimeErrorufileno(((u./opt/alt/python33/lib64/python3.3/fileinput.pyufilenosufilenocCststdntjS(ue Returns true the line just read is the first line of its file, otherwise returns false. uno active input()(u_stateu RuntimeErroru isfirstline(((u./opt/alt/python33/lib64/python3.3/fileinput.pyu isfirstlinescCststdntjS(u] Returns true if the last line was read from sys.stdin, otherwise returns false. uno active input()(u_stateu RuntimeErroruisstdin(((u./opt/alt/python33/lib64/python3.3/fileinput.pyuisstdinscBs|EeZdZdZd%d&dddd%ddZddZd d Zd d Z d dZ ddZ ddZ ddZ ddZddZddZddZddZdd Zd!d"Zd#d$Zd%S('u FileInputu?FileInput([files[, inplace[, backup[, bufsize, [, mode[, openhook]]]]]]) Class FileInput is the implementation of the module; its methods filename(), lineno(), fileline(), isfirstline(), isstdin(), fileno(), nextfile() and close() correspond to the functions of the same name in the module. In addition it has a readline() method which returns the next input line, and a __getitem__() method which implements the sequence behavior. The sequence must be accessed in strictly sequential order; random access and readline() cannot be mixed. uiurcCsFt|tr|f}n=|dkr=tjdd}n|sLd }n t|}||_||_||_|p|t |_ d|_ d|_ d|_ d|_d|_d|_d |_d|_g|_d|_|d krtdn||_|r9|rtd nt|s9td q9n||_dS(Niu-iururUuUurbu=FileInput opening mode must be one of 'r', 'rU', 'U' and 'rb'u4FileInput cannot use an opening hook in inplace modeu#FileInput openhook must be callable(u-F(ururUuUurb(u isinstanceustruNoneusysuargvutupleu_filesu_inplaceu_backupuDEFAULT_BUFSIZEu_bufsizeu _savestdoutu_outputu _filenameu_linenou _filelinenou_fileuFalseu_isstdinu_backupfilenameu_bufferu _bufindexu ValueErroru_modeucallableu _openhook(uselfufilesuinplaceubackupubufsizeumodeuopenhook((u./opt/alt/python33/lib64/python3.3/fileinput.pyu__init__s<                    uFileInput.__init__cCs|jdS(N(uclose(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyu__del__suFileInput.__del__cCs|jf|_dS(N(unextfileu_files(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyucloses uFileInput.closecCs|S(N((uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyu __enter__suFileInput.__enter__cCs|jdS(N(uclose(uselfutypeuvalueu traceback((u./opt/alt/python33/lib64/python3.3/fileinput.pyu__exit__suFileInput.__exit__cCs|S(N((uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyu__iter__suFileInput.__iter__c Csyy|j|j}Wntk r(Yn2X|jd7_|jd7_|jd7_|S|j}|sutn|S(Ni(u_bufferu _bufindexu IndexErroru_linenou _filelinenoureadlineu StopIteration(uselfuline((u./opt/alt/python33/lib64/python3.3/fileinput.pyu__next__s   uFileInput.__next__c CsQ||jkrtdny|jSWntk rLtdYnXdS(Nuaccessing lines out of orderuend of input reached(u_linenou RuntimeErroru__next__u StopIterationu IndexError(uselfui((u./opt/alt/python33/lib64/python3.3/fileinput.pyu __getitem__s  uFileInput.__getitem__c Cs|j}d|_|r$|t_n|j}d|_|rI|jn|j}d|_|rx|j rx|jn|j}d|_|r|j ryt j |Wqt k rYqXnd|_g|_ d|_dS(NiF(u _savestdoutusysustdoutu_outputucloseu_fileu_isstdinu_backupfilenameu_backupuosuunlinkuOSErroruFalseu_bufferu _bufindex(uselfu savestdoutuoutputufileubackupfilename((u./opt/alt/python33/lib64/python3.3/fileinput.pyunextfiles,              uFileInput.nextfilec$Csy|j|j}Wntk r(Yn2X|jd7_|jd7_|jd7_|S|js|jspdS|jd|_|jdd|_d|_d|_d |_ d|_ |jdkrd|_t j |_d |_ q|jrk|j|jpd|_ ytj|j Wntjk r7YnXtj|j|j t|j |j|_ytj|jjj}Wn'tk rt|jd|_YnXtjtjBtjB}ttdr|tj O}ntj|j||}tj!|d|_y)ttd r:tj"|j|nWntk rOYnXt j#|_$|jt _#q|j%r|j%|j|j|_qt|j|j|_n|jj&|j'|_d|_|js|j(n|j)S( Niuiu-uu.bakuwuO_BINARYuchmodFT(*u_bufferu _bufindexu IndexErroru_linenou _filelinenou_fileu_filesu _filenameuNoneuFalseu_isstdinu_backupfilenameusysustdinuTrueu_inplaceu_backupuosuunlinkuerrorurenameuopenu_modeufstatufilenoust_modeuOSErroru_outputuO_CREATuO_WRONLYuO_TRUNCuhasattruO_BINARYufdopenuchmodustdoutu _savestdoutu _openhooku readlinesu_bufsizeunextfileureadline(uselfulineupermumodeufd((u./opt/alt/python33/lib64/python3.3/fileinput.pyureadline*sj                  uFileInput.readlinecCs|jS(N(u _filename(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyufilenameisuFileInput.filenamecCs|jS(N(u_lineno(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyulinenolsuFileInput.linenocCs|jS(N(u _filelineno(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyu filelinenoosuFileInput.filelinenoc Cs>|jr6y|jjSWq:tk r2dSYq:XndSdS(Niii(u_fileufilenou ValueError(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyufilenors    uFileInput.filenocCs |jdkS(Ni(u _filelineno(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyu isfirstline{suFileInput.isfirstlinecCs|jS(N(u_isstdin(uself((u./opt/alt/python33/lib64/python3.3/fileinput.pyuisstdin~suFileInput.isstdinNF(u__name__u __module__u __qualname__u__doc__uNoneuFalseu__init__u__del__ucloseu __enter__u__exit__u__iter__u__next__u __getitem__unextfileureadlineufilenameulinenou filelinenoufilenou isfirstlineuisstdin(u __locals__((u./opt/alt/python33/lib64/python3.3/fileinput.pyu FileInputs$  $         ?    cCswtjj|d}|dkr>ddl}|j||S|dkrfddl}|j||St||SdS(Niu.gziu.bz2(uosupathusplitextugzipuopenubz2uBZ2File(ufilenameumodeuextugzipubz2((u./opt/alt/python33/lib64/python3.3/fileinput.pyuhook_compresseds    uhook_compressedcsfdd}|S(Ncst||dS(Nuencoding(uopen(ufilenameumode(uencoding(u./opt/alt/python33/lib64/python3.3/fileinput.pyuopenhooksuhook_encoded..openhook((uencodinguopenhook((uencodingu./opt/alt/python33/lib64/python3.3/fileinput.pyu hook_encodedsu hook_encodedc CsLddl}d}d}|jtjddd\}}x>|D]6\}}|dkred}n|dkrD|}qDqDWxt|d|d|D]}|dddkr|dd}n|ddd kr|dd}ntd ttt t rd pd |fqWtd ttt fdS(Niiuib:u-iu-buinplaceubackupu u u%d: %s[%d]%s %su*uu %d: %s[%d]FTiiii( ugetoptuFalseusysuargvuTrueuinputuprintulinenoufilenameu filelinenou isfirstline(ugetoptuinplaceubackupuoptsuargsuouauline((u./opt/alt/python33/lib64/python3.3/fileinput.pyu_tests" %  !u_testu__main__i F(u__doc__usysuosu__all__uNoneu_stateuDEFAULT_BUFSIZEuFalseuinputucloseunextfileufilenameulinenou filelinenoufilenou isfirstlineuisstdinu FileInputuhook_compressedu hook_encodedu_testu__name__(((u./opt/alt/python33/lib64/python3.3/fileinput.pyuPs*