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/eptags.pyc
mò
‚=5Dc@s[dZdkZdkZdZeieƒZd„Zd„ZedjoeƒndS(såCreate a TAGS file for Python programs, usable with GNU Emacs.

usage: eptags pyfiles...

The output TAGS file is usable with Emacs version 18, 19, 20.
Tagged are:
 - functions (even inside other defs or classes)
 - classes

eptags warns about files it cannot open.
eptags will not give warnings about duplicate tags.

BUGS:
   Because of tag duplication (methods with the same name in different
   classes), TAGS files are not very useful for most object-oriented
   python projects.
Ns;^[ \t]*(def|class)[ \t]+([a-zA-Z_][a-zA-Z0-9_]*)[ \t]*[:\(]c
Csyt|dƒ}Wntiid|ƒdSnXd}	d}g}d}x‹|i
ƒ}|pPn|d}ti
|ƒ}|o>|idƒd||	f}|i|ƒ|t|ƒ}n|	t|ƒ}	qPW|id||fƒx|D]}|i|ƒqùWdS(sCAppend tags found in file named 'filename' to the open file 'outfp'trsCannot open %s
Niis%d,%d
s
%s,%d
(topentfilenametfptsyststderrtwritetcharnotlinenottagstsizetreadlinetlinetmatchertsearchtmtgroupttagtappendtlentoutfp(
RRRR	RRRRR
R((t*/usr/lib/python2.4/Tools/scripts/eptags.pyt
treat_files4

cCs8tddƒ}x"tidD]}t||ƒqWdS(NtTAGStwi(RRRtargvRR(RR((Rtmain2st__main__(	t__doc__RtretexprtcompileR
RRt__name__(R
RRRRR((Rt?s