MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/self/root/proc/2/cwd/usr/lib/python2.4/Tools/scripts/finddiv.pyc
mň
‚=5Dc@ssdZdkZdkZdkZdkZd„Zd„Zd„Zd„Ze	djoei
eƒƒndS(s	finddiv - a grep-like tool that looks for division operators.

Usage: finddiv [-l] file_or_directory ...

For directory arguments, all files in the directory whose name ends in
.py are processed, and subdirectories are processed recursively.

This actually tokenizes the files to avoid false hits in comments or
strings literals.

By default, this prints all lines containing a / or /= operator, in
grep -n style.  With the -l option specified, it prints the filename
of files that contain at least one / or /= operator.
Nc	Csęy#titiddƒ\}}Wn&tij
o}t|ƒdSnX|ptdƒdSnd}xE|D]=\}}|djo
tGHdSn|djo
d}qrqrWd}x*|D]"}t||ƒ}|p|}qŔW|S(Nitlhis&at least one file argument is requiredis-hs-l(tgetopttsystargvtoptstargsterrortmsgtusaget	listnamestotat__doc__tNonetexittfilenametprocesstx(	RR	RR
RRRRR((t+/usr/lib/python2.4/Tools/scripts/finddiv.pytmains,#
	


cCs[tiidtid|fƒtiidtidƒtiidtidƒdS(Ns%s: %s
isUsage: %s [-l] file ...
s"Try `%s -h' for more information.
(RtstderrtwriteRR(R((RR-s!cCsútii|ƒot||ƒSnyt|ƒ}Wn-tj
o!}t
iid|ƒdSnXt
i|iƒ}d}	xm|D]e\}}\}}
}}|djo=|o
|GHPn||	jo|}	d|||fGqčqƒqƒW|iƒdS(NsCan't open: %s
it/s/=s%s:%d:%s(Rs/=(tostpathtisdirRt
processdirR	topentfptIOErrorRRRRttokenizetgenerate_tokenstreadlinetgR
tlastrowttypettokentrowtcoltendtlinetclose(RR	RR#R!R'R$RR(R"R&R%((RR2s&	

c	Csůyti|ƒ}Wn0tij
o!}tiid|ƒdSnXg}xc|D][}tii||ƒ}tii|ƒidƒptii|ƒo|i|ƒqSqSW|id„ƒd}x*|D]"}t||ƒ}|p|}qĎW|S(NsCan't list directory: %s
is.pycCs%ttii|ƒtii|ƒƒS(N(tcmpRRtnormcaseRtb(RR,((Rt<lambda>Qs(RtlistdirtdirtnamesRRRRRtfilestnameRtjointfnR+tendswithRtappendtsortR
RRR	R(	R/R	R1R2R4RR0RR((RRFs$	/t__main__(RRRRRRRRRt__name__R(RRRRRRRR((Rt?s