config root man

Current Path : /compat/linux/proc/self/root/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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/markupbase.pyc

łň
h”Rc@s}dZddkZeidƒiZeidƒiZeidƒZeidƒZeidƒZ[dd
d	„ƒYZ	dS(süShared support for scanning document type declarations in HTML and XHTML.

This module is used as a foundation for the HTMLParser and sgmllib
modules (indirectly, for htmllib as well).  It has no documented
public API and should not be used directly.

i˙˙˙˙Ns[a-zA-Z][-_.a-zA-Z0-9]*\s*s(\'[^\']*\'|"[^"]*")\s*s--\s*>s	]\s*]\s*>s]\s*>t
ParserBasecBsĄeZdZd„Zd„Zd„Zd„Zd„ZdZd„Z	dd	„Z
dd
„Zd„Zd„Z
d
„Zd„Zd„Zd„Zd„ZRS(siParser base class which provides some common support methods used
    by the SGML/HTML and XHTML parsers.cCs$|itjotdƒ‚ndS(Ns(markupbase.ParserBase must be subclassed(t	__class__RtRuntimeError(tself((s&/usr/local/lib/python2.5/markupbase.pyt__init__scCstdƒ‚dS(Ns.subclasses of ParserBase must override error()(tNotImplementedError(Rtmessage((s&/usr/local/lib/python2.5/markupbase.pyterror!scCsd|_d|_dS(Nii(tlinenotoffset(R((s&/usr/local/lib/python2.5/markupbase.pytreset%s	cCs|i|ifS(s&Return current line number and offset.(RR	(R((s&/usr/local/lib/python2.5/markupbase.pytgetpos)scCsŒ||jo|Sn|i}|id||ƒ}|o:|i||_|id||ƒ}||d|_n|i|||_|S(Ns
i(trawdatatcountRtrindexR	(RtitjRtnlinestpos((s&/usr/local/lib/python2.5/markupbase.pyt	updatepos1s
	tc

Csž|i}|d}|||!djp
td‚|||d!djo|dSn|||d!djodSnt|ƒ}|||d!d	jo|i|ƒSn;||d
jo|i|ƒSn|i||ƒ\}}|djo|Sn|djo
d|_nx„||jov||}|djoH||d|!}|djo|i|ƒn|i|ƒ|dSn|d
jo.t	||ƒ}|pdSn|i
ƒ}nÄ|djo|i||ƒ\}	}n›||ijo|d}n}|d
joZ|djo|i|d|ƒ}q€|djo|id|ƒq€|idƒn|id||ƒ|djo|SqqWdS(Nis<!s$unexpected call to parse_declarationit>t-Ri˙˙˙˙s--t[itdoctypes"'t4abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZtattlisttlinktypetlinktelements&unsupported '[' char in %s declarations"unexpected '[' char in declarations!unexpected %r char in declaration(RR(RRslinkR(
RtAssertionErrortlent
parse_commenttparse_marked_sectiont
_scan_namet_decl_othercharsthandle_decltunknown_declt_declstringlit_matchtendt_parse_doctype_subsetR(
RRRRtntdecltypetctdatatmtname((s&/usr/local/lib/python2.5/markupbase.pytparse_declarationAs\	















icCs|i}|||d!djp
td‚|i|d|ƒ\}}|djo|Sn|djoti||dƒ}nD|djoti||dƒ}n|id
||d|!ƒ|pdSn|o+|idƒ}|i||d|!ƒn|i	dƒS(Nis<![s)unexpected call to parse_marked_section()ittemptcdatatignoretincludetrcdatatiftelsetendifs+unknown status keyword %r in marked sectioni˙˙˙˙(R0R1signoreR3R4(R5R6R7(
RRR"t_markedsectionclosetsearcht_msmarkedsectioncloseRtstartR%R'(RRtreportRtsectNameRtmatch((s&/usr/local/lib/python2.5/markupbase.pyR!s 	"


cCs–|i}|||d!djo|idƒnti||dƒ}|pdSn|o+|idƒ}|i||d|!ƒn|idƒS(Nis<!--s"unexpected call to parse_comment()i˙˙˙˙i(RRt
_commentcloseR9R;thandle_commentR'(RRR<RR>R((s&/usr/local/lib/python2.5/markupbase.pyR Ľs	c
Cs|i}t|ƒ}|}xî||joŕ||}|djoy|||d!}|djodSn|djo)|i||dƒ|id|ƒn|d|jodSn|d|jodSn|||d!djo1|i|d	d
ƒ}|d
jo|Sqqn|i|d|ƒ\}}|djodSn|djo)|i||dƒ|id|ƒnt|d|ƒ}	|	||ƒ}|d
jo|Sqq|djom|d|jodSn|i|d|ƒ\}}|d
jo|Sn||djo|d}qq|djo‰|d}x-||jo||iƒo|d}qOW||jo:||djo|Sn|i||ƒ|idƒqdSq|iƒo|d}q|i||ƒ|id|ƒqWdS(Nt<ii˙˙˙˙s<!is*unexpected char in internal subset (in %r)is<!--R<iRRtentitytnotations)unknown declaration %r in internal subsett_parse_doctype_t%t;t]Rs%unexpected char after internal subsets%unexpected char %r in internal subset(sattlistselementRBRC(RRRRR R"tgetattrtisspace(
RRtdeclstartposRR)RR+tsR.tmeth((s&/usr/local/lib/python2.5/markupbase.pyR(łsr	














cCsc|i||ƒ\}}|djodSn|i}d||jo|id|ƒdSndS(Ni˙˙˙˙Ri(R"Rtfind(RRRJR.RR((s&/usr/local/lib/python2.5/markupbase.pyt_parse_doctype_elementös
	cCsa|i}|i||ƒ\}}|||d!}|djodSn|djo|dSnxú|i||ƒ\}}|djo|Sn|||d!}|djodSn|djopd||jo|id|ƒd}ndSx'|||d!iƒo|d}qőW||pdSqKn|i||ƒ\}}|||d!}|pdSn|djoNt||ƒ}|o|iƒ}ndS|||d!}|pdSqĆn|d	jon||d	jodSn|i|d|ƒ\}}|djo|Sn|||d!}|pdSqAn|djo|dSqcqcdS(
NiRi˙˙˙˙Rit(t)s'"t#(RR"RMRIR&R'(RRRJRR.RR+R-((s&/usr/local/lib/python2.5/markupbase.pyt_parse_doctype_attlists\	








cCsá|i||ƒ\}}|djo|Sn|i}x¤|||d!}|pdSn|djo|dSn|djo.t||ƒ}|pdSn|iƒ}q9|i||ƒ\}}|djo|Sq9q9dS(Niii˙˙˙˙Rs'"(R"RR&R'(RRRJR.RRR+R-((s&/usr/local/lib/python2.5/markupbase.pyt_parse_doctype_notation:s$
	


cCsR|i}|||d!djoP|d}xI|||d!}|pdSn|iƒo|d}q.Pq.n|}|i||ƒ\}}|djo|Snx§|i||d!}|pdSn|djo.t||ƒ}|o|iƒ}qKdSq§|djo|dSq§|i||ƒ\}}|djo|Sq§q§dS(NiREi˙˙˙˙is'"R(RRIR"R&R'(RRRJRRR+R.R-((s&/usr/local/lib/python2.5/markupbase.pyt_parse_doctype_entityQs8	





cCsÁ|i}t|ƒ}||jodSnt||ƒ}|oQ|iƒ}|iƒ}|t|ƒ|jodSn|iƒ|iƒfSn-|i||ƒ|i	d|||d!ƒdS(Ni˙˙˙˙sexpected name token at %ri(Ni˙˙˙˙(Ni˙˙˙˙(
RRtNonet_declname_matchtgrouptstriptlowerR'RR(RRRJRR)R-RKR.((s&/usr/local/lib/python2.5/markupbase.pyR"us	
	cCsdS(N((RR,((s&/usr/local/lib/python2.5/markupbase.pyR%‡s(t__name__t
__module__t__doc__RRR
RRR#R/R!R R(RNRRRSRTR"R%(((s&/usr/local/lib/python2.5/markupbase.pyRs"					
	N	C		9		$	((
R\tretcompileR>RVR&R?R8R:R(((s&/usr/local/lib/python2.5/markupbase.pys<module>s

Man Man