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.pyo

łň
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}|||d!djo|dSn|||d!djodSnt|ƒ}|||d!djo|i|ƒSn;||djo|i|ƒSn|i||ƒ\}}|d	jo|Sn|d
jo
d|_nx„||jov||}|djoH||d|!}|d
jo|i|ƒn|i|ƒ|dSn|djo.t||ƒ}|pdSn|i	ƒ}nÄ|djo|i||ƒ\}	}n›||ijo|d}n}|djoZ|d
jo|i
|d|ƒ}qb|djo|id|ƒqb|idƒn|id||ƒ|d	jo|SqřqřWdS(Niit>t-Ri˙˙˙˙s--t[itdoctypes"'t4abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZtattlisttlinktypetlinktelements&unsupported '[' char in %s declarations"unexpected '[' char in declarations!unexpected %r char in declaration(RR(RRslinkR(Rtlent
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_declarationAsZ	















icCsň|i}|i|d|ƒ\}}|djo|Sn|d
joti||dƒ}nD|djoti||dƒ}n|id||d|!ƒ|pdSn|o+|idƒ}|i||d|!ƒn|idƒS(Niittemptcdatatignoretincludetrcdatatiftelsetendifs+unknown status keyword %r in marked sectioni˙˙˙˙(R/R0signoreR2R3(R4R5R6(	RR!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
_commentcloseR8R: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(sattlistselementRARB(RRRRRR!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(RRRIR-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!RLRHR%R&(RRRIR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&(RRRIR-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(NiRDi˙˙˙˙is'"R(RRHR!R%R&(RRRIR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(RRRIRR(R,RJR-((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 RR'RMRQRRRSR!R$(((s&/usr/local/lib/python2.5/markupbase.pyRs"					
	N	C		9		$	((
R[tretcompileR=RUR%R>R7R9R(((s&/usr/local/lib/python2.5/markupbase.pys<module>s

Man Man