config root man

Current Path : /usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/htmllib.pyo

łň
h”Rc@sˆdZddkZddklZddgZdeifd„ƒYZdeifd„ƒYZe	d„Z
ed	joe
ƒndS(
svHTML 2.0 parser.

See the HTML 2.0 specification:
http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_toc.html
i˙˙˙˙N(tAS_ISt
HTMLParsertHTMLParseErrorcBseZdZRS(s3Error raised when an HTML document can't be parsed.(t__name__t
__module__t__doc__(((s#/usr/local/lib/python2.5/htmllib.pyRscBs3eZdZddklZdd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z!d!„Z"d"„Z#d#„Z$d$„Z%d%„Z&d&„Z'd'„Z(d(„Z)d)„Z*d*„Z+d+„Z,d,„Z-d-„Z.d.„Z/d/„Z0d0„Z1d1„Z2d2„Z3d3„Z4d4„Z5d5„Z6d6„Z7d7„Z8d8„Z9d9„Z:d:„Z;d;„Z<d<„Z=d=„Z>dd>„Z?d?„Z@d@„ZAdA„ZBdB„ZCdC„ZDdD„ZEdE„ZFdF„ZGdG„ZHdH„ZIdI„ZJdJ„ZKdK„ZLdL„ZMdM„ZNdN„ZOdO„ZPdP„ZQdQ„ZRdR„ZSdS„ZTdT„ZUdU„ZVdV„ZWdW„ZXdX„ZYdY„ZZdZ„Z[RS([sĚThis is the basic HTML parser class.

    It supports all entity names required by the XHTML 1.0 Recommendation.
    It also defines handlers for all HTML 2.0 and many HTML 3.0 and 3.2
    elements.

    i˙˙˙˙(t
entitydefsicCs tii||ƒ||_dS(s•Creates an instance of the HTMLParser class.

        The formatter parameter is the formatter instance associated with
        the parser.

        N(tsgmllibt
SGMLParsert__init__t	formatter(tselfR
tverbose((s#/usr/local/lib/python2.5/htmllib.pyR	scCst|ƒ‚dS(N(R(Rtmessage((s#/usr/local/lib/python2.5/htmllib.pyterror'scCs\tii|ƒd|_d|_d|_d|_d|_g|_	d|_
g|_dS(Ni(RRtresettNonetsavedatatisindexttitletbasetanchort
anchorlisttnofillt
list_stack(R((s#/usr/local/lib/python2.5/htmllib.pyR*s							cCsV|idj	o|i||_n/|io|ii|ƒn|ii|ƒdS(N(RRRR
tadd_literal_datatadd_flowing_data(Rtdata((s#/usr/local/lib/python2.5/htmllib.pythandle_data:s

cCs
d|_dS(sęBegins saving character data in a buffer instead of sending it
        to the formatter object.

        Retrieve the stored data via the save_end() method.  Use of the
        save_bgn() / save_end() pair may not be nested.

        tN(R(R((s#/usr/local/lib/python2.5/htmllib.pytsave_bgnEscCs9|i}d|_|ipdi|iƒƒ}n|S(sHEnds buffering character data and returns all data saved since
        the preceding call to the save_bgn() method.

        If the nofill flag is false, whitespace is collapsed to single
        spaces.  A call to this method without a preceding call to the
        save_bgn() method will raise a TypeError exception.

        t N(RRRtjointsplit(RR((s#/usr/local/lib/python2.5/htmllib.pytsave_endOs
			
cCs+||_|io|ii|ƒndS(s}This method is called at the start of an anchor region.

        The arguments correspond to the attributes of the <A> tag with
        the same names.  The default implementation maintains a list of
        hyperlinks (defined by the HREF attribute for <A> tags) within
        the document.  The list of hyperlinks is available as the data
        attribute anchorlist.

        N(RRtappend(Rthreftnamettype((s#/usr/local/lib/python2.5/htmllib.pyt
anchor_bgn`s
	
cCs5|io'|idt|iƒƒd|_ndS(sŘThis method is called at the end of an anchor region.

        The default implementation adds a textual footnote marker using an
        index into the list of hyperlinks created by the anchor_bgn()method.

        s[%d]N(RRtlenRR(R((s#/usr/local/lib/python2.5/htmllib.pyt
anchor_endns
cGs|i|ƒdS(s–This method is called to handle images.

        The default implementation simply passes the alt value to the
        handle_data() method.

        N(R(Rtsrctalttargs((s#/usr/local/lib/python2.5/htmllib.pythandle_image{scCsdS(N((Rtattrs((s#/usr/local/lib/python2.5/htmllib.pyt
start_html†scCsdS(N((R((s#/usr/local/lib/python2.5/htmllib.pytend_html‡scCsdS(N((RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_head‰scCsdS(N((R((s#/usr/local/lib/python2.5/htmllib.pytend_headŠscCsdS(N((RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_bodyŒscCsdS(N((R((s#/usr/local/lib/python2.5/htmllib.pytend_bodyscCs|iƒdS(N(R(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_title‘scCs|iƒ|_dS(N(R"R(R((s#/usr/local/lib/python2.5/htmllib.pyt	end_title”scCs5x.|D]&\}}|djo
||_qqWdS(NR$(R(RR.tatv((s#/usr/local/lib/python2.5/htmllib.pytdo_base—s
cCs
d|_dS(Ni(R(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
do_isindexœscCsdS(N((RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_linkŸscCsdS(N((RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_meta˘scCsdS(N((RR.((s#/usr/local/lib/python2.5/htmllib.pyt	do_nextidĽscCs$|iidƒ|iidƒdS(Nith1i(R>iii(R
t
end_paragrapht	push_font(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h1ŹscCs!|iidƒ|iiƒdS(Ni(R
R?tpop_font(R((s#/usr/local/lib/python2.5/htmllib.pytend_h1°scCs$|iidƒ|iidƒdS(Nith2i(RDiii(R
R?R@(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h2´scCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_h2¸scCs$|iidƒ|iidƒdS(Nith3i(RGiii(R
R?R@(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h3źscCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_h3ŔscCs$|iidƒ|iidƒdS(Nith4i(RJiii(R
R?R@(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h4ÄscCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_h4ČscCs$|iidƒ|iidƒdS(Nith5i(RMiii(R
R?R@(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h5ĚscCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_h5ĐscCs$|iidƒ|iidƒdS(Nith6i(RPiii(R
R?R@(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_h6ÔscCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_h6ŘscCs|iidƒdS(Ni(R
R?(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_pŢscCs@|iidƒ|iitttdfƒ|id|_dS(Ni(R
R?R@RR(RR.((s#/usr/local/lib/python2.5/htmllib.pyt	start_preáscCs:|iidƒ|iiƒtd|idƒ|_dS(Nii(R
R?RBtmaxR(R((s#/usr/local/lib/python2.5/htmllib.pytend_prećs
cCs|i|ƒ|idƒdS(Ntxmp(RTt
setliteral(RR.((s#/usr/local/lib/python2.5/htmllib.pyt	start_xmpës
cCs|iƒdS(N(RV(R((s#/usr/local/lib/python2.5/htmllib.pytend_xmpďscCs|i|ƒ|idƒdS(Ntlisting(RTRX(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_listingňs
cCs|iƒdS(N(RV(R((s#/usr/local/lib/python2.5/htmllib.pytend_listingöscCs0|iidƒ|iitdttfƒdS(Nii(R
R?R@R(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_addressůscCs!|iidƒ|iiƒdS(Ni(R
R?RB(R((s#/usr/local/lib/python2.5/htmllib.pytend_addressýscCs$|iidƒ|iidƒdS(Nit
blockquote(R
R?tpush_margin(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_blockquotescCs!|iidƒ|iiƒdS(Ni(R
R?t
pop_margin(R((s#/usr/local/lib/python2.5/htmllib.pytend_blockquotescCsA|ii|iƒ|iidƒ|iidddgƒdS(Ntult*i(R
R?RRaR#(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_ulscCs=|io|id=n|ii|iƒ|iiƒdS(Ni˙˙˙˙(RR
R?Rc(R((s#/usr/local/lib/python2.5/htmllib.pytend_uls
cCsm|iidƒ|io0|id\}}}}|d|d<}n
d\}}|ii||ƒdS(Nii˙˙˙˙iiRf(Rfi(R
R?Rtadd_label_data(RR.tdummytlabeltcounterttop((s#/usr/local/lib/python2.5/htmllib.pytdo_lis
cCs–|ii|iƒ|iidƒd}xL|D]D\}}|djo+t|ƒdjo|d}n|}q1q1W|iid|dgƒdS(Ntols1.R&it.i(R
R?RRaR(R#(RR.RkR7R8((s#/usr/local/lib/python2.5/htmllib.pytstart_ols
cCs=|io|id=n|ii|iƒ|iiƒdS(Ni˙˙˙˙(RR
R?Rc(R((s#/usr/local/lib/python2.5/htmllib.pytend_ol(s
cCs|i|ƒdS(N(Rg(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_menu-scCs|iƒdS(N(Rh(R((s#/usr/local/lib/python2.5/htmllib.pytend_menu0scCs|i|ƒdS(N(Rg(RR.((s#/usr/local/lib/python2.5/htmllib.pyt	start_dir3scCs|iƒdS(N(Rh(R((s#/usr/local/lib/python2.5/htmllib.pytend_dir6scCs-|iidƒ|iidddgƒdS(NitdlRi(R
R?RR#(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_dl9scCs)|idƒ|io|id=ndS(Nii˙˙˙˙(tddpopR(R((s#/usr/local/lib/python2.5/htmllib.pytend_dl=s

cCs|iƒdS(N(Ry(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_dtAscCs7|iƒ|iidƒ|iidddgƒdS(NtddRi(RyR
RaRR#(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_ddDs
cCsU|ii|ƒ|io7|idddjo|id=|iiƒqQndS(Ni˙˙˙˙iR|(R
R?RRc(Rtbl((s#/usr/local/lib/python2.5/htmllib.pyRyIs


cCs|i|ƒdS(N(tstart_i(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_citeTscCs|iƒdS(N(tend_i(R((s#/usr/local/lib/python2.5/htmllib.pytend_citeUscCs|i|ƒdS(N(tstart_tt(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_codeWscCs|iƒdS(N(tend_tt(R((s#/usr/local/lib/python2.5/htmllib.pytend_codeXscCs|i|ƒdS(N(R(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_emZscCs|iƒdS(N(R(R((s#/usr/local/lib/python2.5/htmllib.pytend_em[scCs|i|ƒdS(N(Rƒ(RR.((s#/usr/local/lib/python2.5/htmllib.pyt	start_kbd]scCs|iƒdS(N(R…(R((s#/usr/local/lib/python2.5/htmllib.pytend_kbd^scCs|i|ƒdS(N(Rƒ(RR.((s#/usr/local/lib/python2.5/htmllib.pyt
start_samp`scCs|iƒdS(N(R…(R((s#/usr/local/lib/python2.5/htmllib.pytend_sampascCs|i|ƒdS(N(tstart_b(RR.((s#/usr/local/lib/python2.5/htmllib.pytstart_strongcscCs|iƒdS(N(tend_b(R((s#/usr/local/lib/python2.5/htmllib.pyt
end_strongdscCs|i|ƒdS(N(R(RR.((s#/usr/local/lib/python2.5/htmllib.pyt	start_varfscCs|iƒdS(N(R(R((s#/usr/local/lib/python2.5/htmllib.pytend_vargscCs |iitdttfƒdS(Ni(R
R@R(RR.((s#/usr/local/lib/python2.5/htmllib.pyRkscCs|iiƒdS(N(R
RB(R((s#/usr/local/lib/python2.5/htmllib.pyRmscCs |iittdtfƒdS(Ni(R
R@R(RR.((s#/usr/local/lib/python2.5/htmllib.pyRpscCs|iiƒdS(N(R
RB(R((s#/usr/local/lib/python2.5/htmllib.pyRrscCs |iitttdfƒdS(Ni(R
R@R(RR.((s#/usr/local/lib/python2.5/htmllib.pyRƒuscCs|iiƒdS(N(R
RB(R((s#/usr/local/lib/python2.5/htmllib.pyR…wscCs—d}d}d}xk|D]c\}}|iƒ}|djo
|}n|djo
|}n|djo|iƒ}qqW|i|||ƒdS(NRR$R%R&(tstriptlowerR'(RR.R$R%R&tattrnametvalue((s#/usr/local/lib/python2.5/htmllib.pytstart_azs




cCs|iƒdS(N(R)(R((s#/usr/local/lib/python2.5/htmllib.pytend_aˆscCs|iiƒdS(N(R
tadd_line_break(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_brscCs|iiƒdS(N(R
tadd_hor_rule(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_hr’sc
	Cs%d}d}d}d}d}d}xŢ|D]Ö\}}	|djo
|	}n|djo
|	}n|djo
|	}n|djo
|	}n|djo*yt|	ƒ}WqĘtj
oqĘXn|d	jo*yt|	ƒ}Wqtj
oqXq+q+W|i||||||ƒdS(
NRs(image)italignR+tismapR*twidththeight(tintt
ValueErrorR-(
RR.RR+RžR*RŸR R•R–((s#/usr/local/lib/python2.5/htmllib.pytdo_img—s6








	

cCs|i|ƒ|iƒdS(N(RTt
setnomoretags(RR.((s#/usr/local/lib/python2.5/htmllib.pytdo_plaintextąs
cCsdS(N((RttagR.((s#/usr/local/lib/python2.5/htmllib.pytunknown_starttagˇscCsdS(N((RRŚ((s#/usr/local/lib/python2.5/htmllib.pytunknown_endtagşs(\RRRthtmlentitydefsRR	RRRRR"R'R)R-R/R0R1R2R3R4R5R6R9R:R;R<R=RARCRERFRHRIRKRLRNRORQRRRSRTRVRYRZR\R]R^R_RbRdRgRhRnRqRrRsRtRuRvRxRzR{R}RyR€R‚R„R†R‡RˆR‰RŠR‹RŒRŽRR‘R’RRRRRƒR…R—R˜RšRœRŁRĽR§R¨(((s#/usr/local/lib/python2.5/htmllib.pyRs˛
				
			
																																										
																																				c		CsPddk}ddk}|p|id}n|o|ddj}|o|d=n|o|d}nd}|djo
|i}nFyt|dƒ}Wn/tj
o#}|GdG|GH|idƒnX|iƒ}||ij	o|iƒn|o|i	ƒ}n|i
|iƒƒ}t|ƒ}|i
|ƒ|iƒdS(	Ni˙˙˙˙iis-ss	test.htmlt-trt:(tsysR
targvtstdintopentIOErrortexittreadtcloset
NullFormattertAbstractFormattert
DumbWriterRtfeed(	R,R­R
tsilenttfiletftmsgRtp((s#/usr/local/lib/python2.5/htmllib.pyttestžs2



t__main__(RRR
Rt__all__tSGMLParseErrorRRRRRžR(((s#/usr/local/lib/python2.5/htmllib.pys<module>s˙­'


Man Man