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/usr/lib/python2.4/Tools/scripts/parseentities.pyo
mň
‚=5Dc@sńdZdkZdkZdkZeidƒZddd„Zd„Ze	djo˜e
eiƒdjoeeidƒZ
n
eiZ
e
eiƒdjoeeidd	ƒZn
eiZe
iƒZeeƒZeeeƒndS(
sĽ Utility for parsing HTML entity definitions available from:

      http://www.w3.org/ as e.g.
      http://www.w3.org/TR/REC-html40/HTMLlat1.ent

    Input is read from stdin, output is written to stdout in form of a
    Python snippet defining a dictionary "entitydefs" mapping literal
    entity name to character or numeric entity.

    Marc-Andre Lemburg, mal@lemburg.com, 1999.
    Use as you like. NO WARRANTIES.

Ns7<!ENTITY +(\w+) +CDATA +"([^"]+)" +-- +((?:.|
)+?) *-->icCs‡d}|djot|ƒ}nh}xWti|||ƒ}|pPn|i	ƒ\}}}||f||<|i
ƒ}q,W|S(Nii(tpostendpostNonetlenttexttdtentityREtsearchtmtgroupstnametcharcodetcommenttend(RRRRRRRR
((t1/usr/lib/python2.4/Tools/scripts/parseentities.pytparses
cCsŐ|idƒ|iƒ}|iƒxž|D]–\}\}}|d djo>t|dd!ƒ}|djod|}q—t
|ƒ}n
t
|ƒ}ti|ƒ}|id|||fƒq*W|idƒdS(	Nsentitydefs = {
is&#i˙˙˙˙is'\%o's    '%s':	%s,  	# %s
s
}
(
tftwritetdefstitemstsortR
RRtinttcodetreprt	TextToolstcollapse(RRRRR
RR((Rt	writefile#s


t__main__iitw(t__doc__tretsysRtcompileRRRRt__name__RtargvtopentinfiletstdintoutfiletstdouttreadRR(
RRR&RRRRRRR$((Rt?s