ACC SHELL

Path : /usr/lib/python/
File Upload :
Current File : //usr/lib/python/pydoc.pyo

oMc@sdZdZdZdZdZddkZddkZddkZddkZddk	Z	ddk
Z
ddkZddkZddk
lZddklZlZlZlZlZlZlZlZdd	klZydd
klZWn)ej
odefdYZnXd
ZdZdZ dZ!dZ"dZ#dZ$ei%dei&Z'dZ(dZ)dZ*dZ+e,dZ-dZ.dZ/dZ0hdZ1de2fdYZ3d Z4d!hd"Z5d#fd$YZ6d%efd&YZ7d'e6fd(YZ8d)efd*YZ9d+e6fd,YZ:d-a;d.Z<d/Z=d0Z>d1Z?d2Z@d3ZAd4ZBd!d5ZCe:ZDe8ZEd6fd7YZFeGeFZHd!d8ZId9d!d:ZJd9d!d;ZKd!d<ZLd=e,d>ZMd?fd@YZNeNeiOeiPZQdAfdBYZRdCfdDYZSdEZTe,e,dFZUdGZVdHZWdIZXeYdJjoeXndS(KsGenerate Python documentation in HTML or text for interactive use.

In the Python interpreter, do "from pydoc import help" to provide online
help.  Calling help(thing) on a Python object documents the object.

Or, at the shell command line outside of Python:

Run "pydoc <name>" to show documentation on something.  <name> may be
the name of a function, module, package, or a dotted reference to a
class or function within a module or module in a package.  If the
argument contains a path segment delimiter (e.g. slash on Unix,
backslash on Windows) it is treated as the path to a Python source file.

Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines
of all available modules.

Run "pydoc -p <port>" to start an HTTP server on a given port on the
local machine to generate documentation web pages.

For platforms without a command line, "pydoc -g" starts the HTTP server
and also pops up a little window for controlling it.

Run "pydoc -w <name>" to write out the HTML documentation for a module
to a file named "<name>.html".

Module docs for core modules are assumed to be in

    http://docs.python.org/library/

This can be overridden by setting the PYTHONDOCS environment variable
to a different URL or to a local directory containing the Library
Reference Manual pages.
sKa-Ping Yee <ping@lfw.org>s26 February 2001s$Revision: 78208 $sGuido van Rossum, for an excellent programming language.
Tommy Burnette, the original creator of manpy.
Paul Prescod, for all his work on onlinehelp.
Richard Chamberlain, for the first implementation of textdoc.
iN(tRepr(t
expandtabstfindtjointlowertsplittstriptrfindtrstrip(t
extract_tb(tdequeR
cBseZdZRS(cCs
|idS(Ni(tpop(tself((s/usr/lib/python2.6/pydoc.pytpopleft@s(t__name__t
__module__R
(((s/usr/lib/python2.6/pydoc.pyR
?scCsg}g}xztiD]o}tii|pd}tii|}||jo1tii|o|i||i|qqW|S(sAConvert sys.path into a list of absolute, existing, unique paths.t.(tsystpathtostabspathtnormcasetisdirtappend(tdirstnormdirstdirtnormdir((s/usr/lib/python2.6/pydoc.pytpathdirsEs
 
cCsFti|p
ti|}|otiddt|pdS(s-Get the doc string or comments for an object.s^ *
t(tinspecttgetdoctgetcommentstretsubR(tobjecttresult((s/usr/lib/python2.6/pydoc.pyRQscCstt|d}t|djo|ddfSt|djo.t|do|dt|ddfSdt|dfS(s>Split a doc string into a synopsis line (if any) and the rest.s
iiRi(RRtlenRR(tdoctlines((s/usr/lib/python2.6/pydoc.pytsplitdocVs%cCs2|i}|i|jo|id|}n|S(s@Get a class name and qualify it with a module name if necessary.R(RR(R#tmodnametname((s/usr/lib/python2.6/pydoc.pyt	classname_s	cCs^ti|pMti|p=ti|p-ti|pti|p
ti|S(s>Check if an object is of a type that probably means it's data.(Rtismoduletisclasst	isroutinetisframetistracebacktiscode(R#((s/usr/lib/python2.6/pydoc.pytisdatafs  cGs=x6|o.tt||d|d}|d}qW|S(s/Do a series of global replacements on a string.iii(RR(ttexttpairs((s/usr/lib/python2.6/pydoc.pytreplacels
 cCsdt||joMtd|dd}td|d|}|| d|t||S|S(sCOmit part of a string if needed to make it fit in a maximum length.iiis...(R%tmax(R3tmaxlentpretpost((s/usr/lib/python2.6/pydoc.pytcramss
s at 0x[0-9a-f]{6,16}(>+)$cCstid|S(s>Remove the hexadecimal id from a Python object representation.s\1(t_re_stripidR"(R3((s/usr/lib/python2.6/pydoc.pytstripid|scCsti|p
ti|S(N(Rtismethodtismethoddescriptor(tobj((s/usr/lib/python2.6/pydoc.pyt_is_some_methodscCsh}x*ti|tD]\}}d||<qWx$|iD]}|it|q=Wx'|iD]}t||||<qgW|S(Ni(Rt
getmembersR@t	__bases__tupdatet
allmethodstkeystgetattr(tcltmethodstkeytvaluetbase((s/usr/lib/python2.6/pydoc.pyRDs

cCsRg}g}x9|D]1}||o|i|q|i|qW||fS(sSplit sequence s via predicate, and return pair ([true], [false]).

    The return value is a 2-tuple of lists,
        ([x for x in s if predicate(x)],
         [x for x in s if not predicate(x)])
    (R(tst	predicatetyestnotx((s/usr/lib/python2.6/pydoc.pyt_split_lists
cCsgd}||jod	S|id
o|id
odS|d
j	o||jS|idSd
S(s3Decide whether to show documentation on a variable.t__builtins__t__doc__t__file__t__path__RRt	__slots__t__package__it__it_N(s__builtins__s__doc__s__file__s__path__s
__module__s__name__s	__slots__s__package__(t
startswithtendswithtNone(R*tallt
_hidden_names((s/usr/lib/python2.6/pydoc.pytvisiblenames
 
cCsd}t|ti|S(sCWrap inspect.classify_class_attrs, with fixup for data descriptors.cSs<|\}}}}ti|o
d}n||||fS(Nsdata descriptor(Rtisdatadescriptor(tdataR*tkindtclsRJ((s/usr/lib/python2.6/pydoc.pytfixups
(tmapRtclassify_class_attrs(R#Rd((s/usr/lib/python2.6/pydoc.pyRfs	cCsWtii|o@x=dD]1}tiitii|d|otSqWntS(s3Guess whether a path refers to a package directory.s.pys.pycs.pyot__init__(s.pys.pycs.pyo(RRRtisfileRtTruetFalse(Rtext((s/usr/lib/python2.6/pydoc.pyt	ispackages&
cCs|i}x<|d djpt|o|i}|pPqqWt|}|d djo|d}n|d djos|d}|ddjo|d }nx*t|p|i}|pPqqWtt|dd	}nd}|S(
Nit#isr"""is"""is\i(treadlineRRR\(tfiletlineR$((s/usr/lib/python2.6/pydoc.pytsource_synopsiss*



cCsti|i}|i|d\}}||joti|}yt|}Wntj
odSX|odd|djoSy t	i
d|||d}WndSX|ipdid}t
id=nt|}|i||f||<n|S(	s.Get the one-line summary out of a module file.itbit__temp__iRN(iN(Rtstattst_mtimetgetR\Rt
getmoduleinfotopentIOErrortimptload_moduleRSt
splitlinesRtmodulesRqtclose(tfilenametcachetmtimet
lastupdateR$tinfoRotmodule((s/usr/lib/python2.6/pydoc.pytsynopsiss&
 
tErrorDuringImportcBs eZdZdZdZRS(sEErrors that occurred while trying to import something to document it.cCs7|\}}}||_||_||_||_dS(N(RtexcRJttb(RRtexc_infoRRJR((s/usr/lib/python2.6/pydoc.pyRgs
			cCsC|i}t|tijo
|i}nd|i||ifS(Nsproblem in %s - %s: %s(Rttypettypest	ClassTypeRRRJ(RR((s/usr/lib/python2.6/pydoc.pyt__str__s	
(RRRSRgR(((s/usr/lib/python2.6/pydoc.pyRs	c
Csti}t|d}|it||jo
ti}n
ti}|iti	i
|}ti	i|\}}t|d}y%ti||||d|f}Wnt
|tinX|i|S(s<Import a Python source file or compiled file given its path.tr(Rzt	get_magicRxtreadR%tPY_COMPILEDt	PY_SOURCER~RRtbasenametsplitextR{RRR(RtmagicRoRbRR*RkR((s/usr/lib/python2.6/pydoc.pyt
importfiles
	
%
ic
Csy|o|tijo|tijosg}tiD]%}|i|do||q8q8~}x4|g|D]!}ti|||<ti|=qtWqnt|}Wnti\}}	}
}|tijotti|i|qc|tjot|	i	|qc|t
jo t|
dddjodSt|tinXxEt
|ddD]0}yt||}Wqwtj
odSXqwW|S(sImport a module; handle errors; return None if the module isn't found.

    If the module *is* found but an exception occurs, it's wrapped in an
    ErrorDuringImport exception and reraised.  Unlike __import__, if a
    package path is specified, the module at the end of the path is returned,
    not the package at the beginning.  If the optional 'forceload' argument
    is 1, we reload the module from disk (unless it's a dynamic extension).Riit
safeimportiN(RR}tbuiltin_module_namesRZt
__import__RRRTtSyntaxErrorRtImportErrorR	R\RRFtAttributeError(
Rt	forceloadRt_[1]tmtsubsRIRRRJRRtpart((s/usr/lib/python2.6/pydoc.pyR	s2<
(
tDoccBsCeZddZddZeZZZZZ	Z
dZRS(cGs||f|}ti|o|i|Sti|o|i|Sy^ti|o|i|Sti|o|i|Sti|o|i	|SWnt
j
onXt|to|i
|S|i|S(s%Generate documentation for an object.(RtisgetsetdescriptortdocdatatismemberdescriptorR,t	docmoduleR-tdocclassR.t
docroutineRt
isinstancetpropertytdocpropertytdocother(RR#R*targs((s/usr/lib/python2.6/pydoc.pytdocument<s"cGs7d|odt|t|if}t|dS(s+Raise an exception for unimplemented types.s.don't know how to document object%s of type %st N(treprRRt	TypeError(RR#R*Rtmessage((s/usr/lib/python2.6/pydoc.pytfailNs'cCs yti|}Wntj
o
d}nXtiidd}tiiti	ti
dtidd!}t|t
to|idjp0|i|op|itii|doP|ido d|id|if}qtii||id}nd}|S(s*Return the location of module docs or Nones
(built-in)t
PYTHONDOCSshttp://docs.python.org/librarytpythoniiterrnot
exceptionstgcRztmarshaltposixtsignalRtthreadt	zipimports
site-packagesshttp://s%s/%st/s.html(
serrnos
exceptionsRsimpsmarshalsposixssignalssysRs	zipimportN(Rt
getabsfileRRtenvironRvRRRtexec_prefixtlibtversionRRRRZRR\(RR#Rotdocloctbasedir((s/usr/lib/python2.6/pydoc.pyt	getdoclocVs&	
   N(RRR\RRRRRRRRR(((s/usr/lib/python2.6/pydoc.pyR;stHTMLReprcBsPeZdZdZdZdZdZdZeZdZ	eZ
RS(sBClass for safely making an HTML representation of a Python object.cCs:ti|d|_|_d|_d|_|_dS(Nii
id(RRgtmaxlisttmaxtupletmaxdictt	maxstringtmaxother(R((s/usr/lib/python2.6/pydoc.pyRgts
	cCst|ddddddS(Nt&s&amp;t<s&lt;t>s&gt;(R5(RR3((s/usr/lib/python2.6/pydoc.pytescapezscCsti||S(N(RR(RR#((s/usr/lib/python2.6/pydoc.pyR}scCstt|doMdttt|id}t||ot||||Sn|ittt	||i
S(NRtrepr_RY(thasattrRRRRRFRR:R<RR(RRPtlevelt
methodname((s/usr/lib/python2.6/pydoc.pytrepr1s
"cCst||i}t|}d|jo;dt|ddjo"d|d|i||dStidd|i|S(Ns\s\\RRis-((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)s<font color="#c040c0">\1</font>(R:RRR5RR!R"(RRPRttestttestrepr((s/usr/lib/python2.6/pydoc.pytrepr_strings&"	cCsKy)|ittt||iSWn|id|iiSXdS(Ns
<%s instance>(RR:R<RRt	__class__R(RRPR((s/usr/lib/python2.6/pydoc.pyt
repr_instances)(RRRSRgRRRRtrepr_strRtrepr_unicode(((s/usr/lib/python2.6/pydoc.pyRrs						tHTMLDoccBsOeZdZeZeiZeiZdZddZdddddZ
dZdZd	d
Z
dZdZd
ZdZdZdhhhdZddZdddZddhhdZdZddhhhddZdZddddZdddZddddZddZRS(s'Formatter class for HTML documentation.cCsd||fS(sFormat an HTML page.s
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: %s</title>
</head><body bgcolor="#f0f0f8">
%s
</body></html>((Rttitletcontents((s/usr/lib/python2.6/pydoc.pytpagesRcCsd|||||pdfS(sFormat a page heading.s'
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="%s">
<td valign=bottom>&nbsp;<br>
<font color="%s" face="helvetica, arial">&nbsp;<br>%s</font></td
><td align=right valign=bottom
><font color="%s" face="helvetica, arial">%s</font></td></tr></table>
    s&nbsp;((RRtfgcoltbgcoltextras((s/usr/lib/python2.6/pydoc.pytheadings	is&nbsp;c	
Cs~|djodd|d}nd|||f}	|o|	d||||f}	n|	d|||f}	|	d|S(	s Format a section with a heading.s<tt>s&nbsp;s</tt>s<p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="%s">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="%s" face="helvetica, arial">%s</font></td></tr>
    sR
<tr bgcolor="%s"><td rowspan=2>%s</td>
<td colspan=2>%s</td></tr>
<tr><td>%s</td>s(
<tr><td bgcolor="%s">%s</td><td>%s</td>s'
<td width="100%%">%s</td></tr></table>N(R\(
RRRRRtwidthtpreludet
marginaliatgapR$((s/usr/lib/python2.6/pydoc.pytsections
cGsd|}|i||S(s$Format a section with a big heading.s<big><strong>%s</strong></big>(R(RRR((s/usr/lib/python2.6/pydoc.pyt
bigsections
c
Cs7|it|}t|dddddddd	S(s!Format literal preformatted text.s

s
 
Rs&nbsp;s
s<br>
(RRR5(RR3((s/usr/lib/python2.6/pydoc.pyt	preformatsicCsd}t||d|}xt|D]w}|dd|}xRt|||||D]5}|t|jo||||d}q_q_W|d}q+Wd|S(s0Format a list of items into a multi-column list.Ris<td width="%d%%" valign=top>ids<br>
s</td>s7<table width="100%%" summary="list"><tr>%s</tr></table>(R%trange(RtlisttformattcolsR$trowstcolti((s/usr/lib/python2.6/pydoc.pytmulticolumns
 cCsd|S(Ns<font color="#909090">%s</font>((RR3((s/usr/lib/python2.6/pydoc.pytgreyscGs5x.|D]&}||jod|||fSqW|S(s:Make a link for an identifier, given name-to-URL mappings.s<a href="%s">%s</a>((RR*tdictstdict((s/usr/lib/python2.6/pydoc.pytnamelinks

cCsp|itii|i}}t||o4t|||jod|i|t||fSt||S(sMake a link for a class.s<a href="%s.html#%s">%s</a>(RRR}RvRRRFR+(RR#R)R*R((s/usr/lib/python2.6/pydoc.pyt	classlinks
&cCsd|i|ifS(sMake a link for a module.s<a href="%s.html">%s</a>(R(RR#((s/usr/lib/python2.6/pydoc.pyt
modulelinkscCsu|\}}}}|o|i|S|od||f}nd|}|od|}n|}d||fS(s;Make a link for a module or package to display in an index.s
%s.%s.htmls%s.htmls"<strong>%s</strong>&nbsp;(package)s<a href="%s">%s</a>(R(RRaR*RRltshadowedturlR3((s/usr/lib/python2.6/pydoc.pyt
modpkglinks
cCs|p|i}g}d}tid}xto|i||}	|	pPn|	i\}
}|i||||
!|	i\}}
}}}}|
o3||idd}|id||fn|o1dt	|}|id|||fn|o1dt	|}|id|||fnq|||d!d	jo#|i|i
||||n6|o|id
|n|i|i
|||}q.W|i|||t|dS(sMark up some plain text, given a context of symbols to look for.
        Each context dictionary maps object names to anchor names.isD\b((http|ftp)://\S+[\w/]|RFC[- ]?(\d+)|PEP[- ]?(\d+)|(self\.)?(\w+))t"s&quot;s<a href="%s">%s</a>s'http://www.rfc-editor.org/rfc/rfc%d.txts(http://www.python.org/dev/peps/pep-%04d/it(sself.<strong>%s</strong>R(RR!tcompileRitsearchtspanRtgroupsR5tintRR(RR3RtfuncstclassesRHtresultstheretpatterntmatchtstarttendR]tschemetrfctpeptselfdotR*R((s/usr/lib/python2.6/pydoc.pytmarkup
s:!!#c
Csd}x|D]}t|td	jo|\}}|d}||i||}|o_||fjoOg}x'|D]}	|i|i|	|q|W|dt|dd}n|d}q
t|tgjo!|d|i|||}q
q
Wd|S(
sAProduce HTML for a class tree as given by inspect.getclasstree().Rs"<dt><font face="helvetica, arial">Rs, t)s

</font></dt>s
<dd>
%s</dd>
s
<dl>
%s</dl>
((RRRRt
formattree(
RttreeR)tparentR$tentrytctbasestparentsRK((s/usr/lib/python2.6/pydoc.pyR0s$
c$%Gs|i}y
|i}Wntj
o
d}nXt|d}g}xJtt|dD]2}|idt||d d||fq^Wt||dd}	d|	}
yXt	i
|}|}tidjoddk
}
|
i|}nd||f}Wntj
o
d	}nXg}t|d
oft|i}|d d.jo(|ddjot|dd!}n|id|i|nt|do#|i|it|in|o|
dt|d}
n|i|}|dj	odt}nd}|i|
ddd||}t	i|t	i}gh}}xt	i|t	iD]w\}}|dj	pt	i|p||joAt||o-|i||fd|||<||<qqqWx|D]\}}x|iD]}|i|i}}ti i!|}||jo`|oYt||oIt"|||jo/||jo|d|||<||<qqqqWqWgh}}xt	i|t	i#D]\}}|dj	p&t	i$|pt	i||jo[t||oG|i||fd|||<t	i%|o||||<qvqzqqWg}xGt	i|t&D]3\}}t||o|i||fqqW|i't(||i)||}|od|}|d|}t|dog}x<t*i+|i,D](\} }}!|i|||!dfq7W|i-|i.||i/}"||i0ddd|"}n@|o8|i.||d }"||i0d!dd|"}n|ot1d"|}#|i2t	i3|#d|g}"x6|D].\}}|"i|i4|||||q"W||i0d#dd$t|"}n|oeg}"x6|D].\}}|"i|i4|||||qW||i0d%dd&t|"}n|o_g}"x-|D]%\}}|"i|i4||qW||i0d'dd(t|"d)}nt|d*o>|i't|i5|i)}"||i0d+dd|"}nt|d,o>|i't|i6|i)}"||i0d-dd|"}n|S(/s/Produce HTML documentation for a module object.Ris5<a href="%s.html"><font color="#ffffff">%s</font></a>is)<big><big><strong>%s</strong></big></big>twin32Ns<a href="file:%s">%s</a>s
(built-in)t__version__it$s
Revision: s
version %st__date__s (%s)s, s(<br><a href="%(docloc)s">Module Docs</a>Rs#ffffffs#7799ees<a href=".">index</a><br>Rms.html#s#-s<tt>%s</tt>s
<p>%s</p>
RUisPackage Contentss#aa55cccSs|i|dS(i(R(t	key_valueRL((s/usr/lib/python2.6/pydoc.pyt<lambda>stModulescSs|dS(i((R((s/usr/lib/python2.6/pydoc.pyRstClassess#ee77aat	Functionss#eeaa77tDatas#55aa55s<br>
t
__author__tAuthort__credits__tCreditss$Revision: (7Rt__all__RR\RRR%RRRRRtplatformt
nturl2pathtpathname2urlRRtstrRRRRRtlocalsRRAR,R-t	getmoduleR_RBRR}RvRFR.t	isbuiltint
isfunctionR2RRRtpkgutiltiter_modulesRUtsortRRRReRtgetclasstreeRR#R%($RR#R*tmodtignoredR]tpartstlinksRt
linkednametheadRRR)tfilelinkRRRR$R}RtcdictRIRJRKR)RRtfdictRaR&tmodpkgstimportertispkgRt	classlist((s/usr/lib/python2.6/pydoc.pyRCs	
'
"#
	

"
$
.

&!
		!&	&		 		csi}|p|}i}g}	|	idd(fdY}
|
tti}t|djoPidx+|D]#}di|i	qWdnfd}
fd}fd	}t
d
t}hxg|D]_\}}}}d|d||<}t|}y||<WqMt
j
oqMXqMWxf|o^|o|in|d
dt|fd\}}tijo
|}qn1jo
d}ndii	}|d7}y|iddWn#t
j
o|idnX|
d||d}|
d||d}|
d||d}|d||d}|d||d}|}qWdi|	}	||jod ||f}nd!|||f}|oNg}x*|D]"}|ii|i	qpW|d"t|d#}niti}|od$|}i|d%d&|	d'|S()s.Produce HTML documentation for a class object.tHorizontalRulecs eZdZfdZRS(cSs
d|_dS(Ni(tneedone(R((s/usr/lib/python2.6/pydoc.pyRgscs%|iodnd|_dS(Ns<hr>
i(RB(R(tpush(s/usr/lib/python2.6/pydoc.pytmaybes
(RRRgRD((RC(s/usr/lib/python2.6/pydoc.pyRAs	is&<dl><dt>Method resolution order:</dt>
s<dd>%s</dd>
s</dl>
c
st||\}}|omi|xV|D]J\}}}}it||dq7Wn|S(Ns
(RQRDRRF(tmsgtattrsRMtokR*RbthomeclsRJ(RtmdictthrRR#RCRR4(s/usr/lib/python2.6/pydoc.pytspills

csnt||\}}|oNi|x7|D]+\}}}}i||q7Wn|S(N(RQRDt_docdescriptor(RERFRMRGR*RbRHRJ(RJRRCR4(s/usr/lib/python2.6/pydoc.pytspilldescriptorss

!c
st||\}}|oi|x|D]\}}}}it||}t|dpti|ot|dd}	nd}	|	djod|nCit	|i
}	d|	}	d||	fdq7Wn|S(Nt__call__RSs<dl><dt>%s</dl>
s<dd><tt>%s</tt>s<dl><dt>%s%s</dl>
s
(RQRDRRFRRR`R\RRR(
RERFRMRGR*RbRHRJRKR&(RRIRR#RJR4RRC(s/usr/lib/python2.6/pydoc.pyt	spilldatas&



cSst|dS(i(R_(Ra((s/usr/lib/python2.6/pydoc.pyRsRmt-ics|djS(i((tt(t	thisclass(s/usr/lib/python2.6/pydoc.pyRssdefined heresinherited from %ss:<br>
RIcSs|dS(i((RQ((s/usr/lib/python2.6/pydoc.pyR'scSst|d|dS(i(tcmp(tt1tt2((s/usr/lib/python2.6/pydoc.pyR)ss
Methods %scSs|ddjS(itmethod((RQ((s/usr/lib/python2.6/pydoc.pyR-ssClass methods %scSs|ddjS(isclass method((RQ((s/usr/lib/python2.6/pydoc.pyR/ssStatic methods %scSs|ddjS(is
static method((RQ((s/usr/lib/python2.6/pydoc.pyR1ssData descriptors %scSs|ddjS(isdata descriptor((RQ((s/usr/lib/python2.6/pydoc.pyR3ssData and other attributes %scSs|ddjS(iRa((RQ((s/usr/lib/python2.6/pydoc.pyR5sRs*<a name="%s">class <strong>%s</strong></a>s/<strong>%s</strong> = <a name="%s">class %s</a>s(%s)s, s<tt>%s<br>&nbsp;</tt>s#000000s#ffc8d8i((RRBRR
RtgetmroR%RDRRtfilterRfRFRR
RQt__builtin__R#R2RRRRR(RR#R*R4RRR5trealnameRRRAtmroRKRKRMRORFRIRbRHRJtanchort	inheritedttagRRR&((	RRIRRRR4R#RJRCRs/usr/lib/python2.6/pydoc.pyRs	
			

$	$		









 $cCs|id|i|S(s)Format an argument default value as text.t=(RR(RR#((s/usr/lib/python2.6/pydoc.pytformatvalueKscCs`|i}|p|}|o
|ipdd|}	d}
d}ti|o|i}|o+||j	od|i||}
qnG|idj	o d|i|ii|}
nd|i||}
|i}n||jod|	|f}
nj|oI||i	jo9|i	||jo%d|id||f}d	}n|}d
|	||f}
ti
|ohti|\}}}}ti||||d|i
}|djod
|}
|d	d!}qnd}|
||
o|id|
}|o	d|S|it||i|||}|od|}d||fSdS(s;Produce HTML documentation for a function or method object.RRPis from s method of %s instances unbound %s methods$<a name="%s"><strong>%s</strong></a>s<a href="#%s">%s</a>is)<a name="%s"><strong>%s</strong></a> = %sR`s<lambda>s$<strong>%s</strong> <em>lambda</em> is(...)s'<font face="helvetica, arial">%s</font>s<dl><dt>%s</dt></dl>
s<dd><tt>%s</tt></dd>s<dl><dt>%s</dt>%s</dl>
N(RRR=tim_classRtim_selfR\Rtim_funct__dict__R/t
getargspect
formatargspecR`RRRR(RR#R*R4RRRHRGRZR\tnotetskipdocstimclassRtreallinkRtvarargstvarkwtdefaultstargspectdeclR&((s/usr/lib/python2.6/pydoc.pyROsR	
	
	




	cCs|g}|i}|o|d|n|idj	o-|it||i}|d|n|ddi|S(Ns!<dl><dt><strong>%s</strong></dt>
s<dd><tt>%s</tt></dd>
s</dl>
R(RRSR\RRRR(RR*RJR4RRCR&((s/usr/lib/python2.6/pydoc.pyRLs	
cCs|i|||S(s*Produce html documentation for a property.(RL(RR#R*R4RG((s/usr/lib/python2.6/pydoc.pyRscGs)|od|pd}||i|S(s-Produce HTML documentation for a data object.s<strong>%s</strong> = R(R(RR#R*R4R5tlhs((s/usr/lib/python2.6/pydoc.pyRscCs|i|||S(s1Produce html documentation for a data descriptor.(RL(RR#R*R4RG((s/usr/lib/python2.6/pydoc.pyRscCsg}|djo
h}nxLti|gD]8\}}}|i|d|||jfd||<q0W|i|i||i}|i|dd|S(s2Generate an HTML index for a directory of modules.Ris#ffffffs#ee77aaN(R\R0R1RR2RRR(RRRR=R>R*R?R((s/usr/lib/python2.6/pydoc.pytindexs


N(RRRSRt_repr_instanceRRRRR\RRRRRRRRRRRRRR`RRLRRRRq(((s/usr/lib/python2.6/pydoc.pyRs8												&|	5	
tTextReprcBs8eZdZdZdZdZeZdZRS(sAClass for safely making a text representation of a Python object.cCs:ti|d|_|_d|_d|_|_dS(Nii
id(RRgRRRRR(R((s/usr/lib/python2.6/pydoc.pyRgs
	cCstt|doMdttt|id}t||ot||||Snttt||i	S(NRRRY(
RRRRRRFR:R<RR(RRPRR((s/usr/lib/python2.6/pydoc.pyRs
"cCsat||i}t|}d|jo2dt|ddjod|d||dS|S(Ns\s\\RRi(R:RRR5(RRPRRR((s/usr/lib/python2.6/pydoc.pyRs
&cCs9y ttt||iSWnd|iiSXdS(Ns
<%s instance>(R:R<RRRR(RRPR((s/usr/lib/python2.6/pydoc.pyRs (RRRSRgRRRR(((s/usr/lib/python2.6/pydoc.pyRss				tTextDoccBseZdZeZeiZdZddZdZdddZ
dddZdddZd	Z
dddd
ZdZddddZdddd
ZddddddZRS(s'Formatter class for text documentation.cCsttd|dS(s(Format a string in bold by overstriking.cSs|d|S(s((tch((s/usr/lib/python2.6/pydoc.pyRsR(RRe(RR3((s/usr/lib/python2.6/pydoc.pytboldss    cCs\|pdSt|d}t|d|}|ot|d|d<nt|dS(s6Indent text by prepending a given prefix to each line.Rs
cSs||S(((Rptprefix((s/usr/lib/python2.6/pydoc.pyRsi(RReRR(RR3RwR'((s/usr/lib/python2.6/pydoc.pytindentscCs(|i|dt|i|dS(s&Format a section with a given heading.s
s

(RvRRx(RRR((s/usr/lib/python2.6/pydoc.pyRsRc
Csd}x|D]}t|tdjox|\}}||t||}|o@||fjo0t|d|}	|dt|	d}n|d}q
t|tgjo$||i||||d}q
q
W|S(sBRender in text a class tree as returned by inspect.getclasstree().RcSs
t||S((R+(RR((s/usr/lib/python2.6/pydoc.pyRss(%s)s, s
s    ((RR+ReRR(
RRR)RRwR$RRRR((s/usr/lib/python2.6/pydoc.pyRs	cCs
|i}tt|\}}|id||od|}y
|i}Wntj
o
d }nXyti|}Wnt	j
o
d}nX||id|}|i
|}	|	d j	o||id|	}n|o||id|}ng}
xxti|tiD]a\}}|d j	pti
|p||jo+t||o|
i||fqq#q#Wg}
xti|tiD]j\}}|d j	p&ti|pti
||jo+t||o|
i||fqqqWg}xGti|tD]3\}}t||o|i||fq+q+Wg}t}t|doxYti|iD]E\}}}|i||o|i|dq|i|qW|i||id	t|d
}ng}xXti|tiD]A\}}|ii|do||jo|i|q&q&W|o-|i||idt|d
}n|
otd
|
}|iti|d|g}x0|
D](\}}|i|i |||qW||idt|d
}n|
o\g}x0|
D](\}}|i|i |||qCW||idt|d
}n|obg}x6|D].\}}|i|i!|||ddqW||idt|d
}nt|dobt"|i#}|d d!jo(|ddjot$|dd!}n||id|}nt|do#||idt"|i%}nt|do#||idt"|i&}nt|do#||idt"|i'}n|S("s5Produce text documentation for a given module object.tNAMEs - s
(built-in)tFILEsMODULE DOCStDESCRIPTIONRUs
 (package)sPACKAGE CONTENTSs
Rt
SUBMODULEScSs|dS(i((R((s/usr/lib/python2.6/pydoc.pyR;sitCLASSESt	FUNCTIONSR7iFtDATARiRs
Revision: itVERSIONRtDATER#tAUTHORR%tCREDITSNs$Revision: ((RR(RRR'RR\RRRRRAR-R-R_RR.R.R2tsetRR0R1RUtaddR2RR,RZReRR3RRR+RRRR#R%(RR#R*R4tsynoptdescR$R]RoRRRIRJRRaR=t
modpkgs_namesR>R)R?t
submodulesR@RR((s/usr/lib/python2.6/pydoc.pyRs	!



&	

	$
	 # #&#"###cs!i}|p|}i}id}||jodi|}ni|d|}|o*t||}|dt|d}nt}	|	o|	dgpg}
|
itt	i
}t|djo=dx"|D]}d	||qWd
ndd fdY}
|
fd
}fd}fd}tdt
}x&|o|o|in|ddt|fd\}}tijo
|}qn.jo
d}ndti}|i|d||d}|d||d}|d||d}|d||d}|d||d}|}qWdi|
}
|
p	|dS|dit|
ddS(!s4Produce text documentation for a given class object.cSs
t||S(N(R+(RR((s/usr/lib/python2.6/pydoc.pytmakenameassclass s	 = class s(%s)s, s
isMethod resolution order:s    RRAcs eZdZfdZRS(cSs
d|_dS(Ni(RB(R((s/usr/lib/python2.6/pydoc.pyRgzscs)|ioddnd|_dS(NRPiFi(RB(R(RC(s/usr/lib/python2.6/pydoc.pyRD|s
(RRRgRD((RC(s/usr/lib/python2.6/pydoc.pyRAys	cszt||\}}|oZi|xC|D]7\}}}}it||q7Wn|S(N(RQRDRRF(RERFRMRGR*RbRHRJ(RJRR#RCR4(s/usr/lib/python2.6/pydoc.pyRKs

csnt||\}}|oNi|x7|D]+\}}}}i||q7Wn|S(N(RQRDRL(RERFRMRGR*RbRHRJ(RJRRCR4(s/usr/lib/python2.6/pydoc.pyRMs

!c	
st||\}}|oi|x|D]z\}}}}t|dpti|ot|}nd}it||ddd|dq7Wn|S(NRNR7iFR&s
(	RQRDRRR`RR\RRF(	RERFRMRGR*RbRHRJR&(R#RJRRCR4(s/usr/lib/python2.6/pydoc.pyROs

%cSst|dS(i(R_(Ra((s/usr/lib/python2.6/pydoc.pyRsics|djS(i((RQ(RR(s/usr/lib/python2.6/pydoc.pyRssdefined heresinherited from %ssMethods %s:
cSs|ddjS(iRV((RQ((s/usr/lib/python2.6/pydoc.pyRssClass methods %s:
cSs|ddjS(isclass method((RQ((s/usr/lib/python2.6/pydoc.pyRssStatic methods %s:
cSs|ddjS(is
static method((RQ((s/usr/lib/python2.6/pydoc.pyRssData descriptors %s:
cSs|ddjS(isdata descriptor((RQ((s/usr/lib/python2.6/pydoc.pyRssData and other attributes %s:
cSs|ddjS(iRa((RQ((s/usr/lib/python2.6/pydoc.pyRss |  ((RRBRRvReRRRR
RRWR%RXRfR
RQRYR#R+R2RxR(RR#R*R4RZRRRRR&RR[RKRARKRMRORFR]R^((RRRR#RJR4RCs/usr/lib/python2.6/pydoc.pyR[sp	
	
	
	
		

	






	cCsd|i|S(s)Format an argument default value as text.R_(R(RR#((s/usr/lib/python2.6/pydoc.pyR`scCs|i}|p|}d}d}ti|o|i}|o(||j	odt||}qnA|idj	odt|ii|}ndt||}|i}n||jo|i	|}	nM|o.||i
jo|i
||jo
d}n|i	|d|}	ti|oqti|\}
}}}
ti
|
|||
d|i}|d	jo$|i	|d
}	|dd!}qnd}|	||}|o	|d
St|pd}|d
|ot|i|d
SdS(s;Produce text documentation for a function or method object.Ris from s method of %s instances unbound %s methodis = R`s<lambda>s lambda is(...)s
N(RRR=RaR+RbR\RRcRvRdR/ReRfR`RRRx(RR#R*R4RGRZRgRhRiRRRkRlRmRnRoR&((s/usr/lib/python2.6/pydoc.pyRsB	
	




	cCsg}|i}|o!||i||dnt|pd}|o!||i||dndi|S(Ns
R(RRvRRxR(RR*RJR4RRCR&((s/usr/lib/python2.6/pydoc.pyRLs	cCs|i|||S(s*Produce text documentation for a property.(RL(RR#R*R4RG((s/usr/lib/python2.6/pydoc.pyRscCs|i|||S(s1Produce text documentation for a data descriptor.(RL(RR#R*R4RG((s/usr/lib/python2.6/pydoc.pyRsc
Cs|i|}|oO|o|dpd|}|t|}	|	djo||	 d}qen|o|i|dpd|}|dj	o!|d|it|7}n|S(s-Produce text documentation for a data object.s = Ris...s
N(RR%RvR\RxR+(
RR#R*R4RR7R&RRptchop((s/usr/lib/python2.6/pydoc.pyRs
%
!N(RRRSRsRrRRvRxRR\RRRR`RRLRRR(((s/usr/lib/python2.6/pydoc.pyRts				dq	+	
cCstat|dS(sCThe first time this is called, determine what kind of pager to use.N(tgetpagertpager(R3((s/usr/lib/python2.6/pydoc.pyRs	cCsttitij	otStiiptiiotSdti	joDti
djodSti	iddjodSdSnti	iddjotSti
djpti
id	od
St
tdotidd
jodSddk}|i\}}ti|z:t
tdo"tid|d
jodStSWdti|XdS(s2Decide what method to use for paging through text.tPAGERRcSstt|tidS(R(t
tempfilepagertplainRR(R3((s/usr/lib/python2.6/pydoc.pyR,stTERMtdumbtemacscSstt|tidS(R(t	pipepagerRRR(R3((s/usr/lib/python2.6/pydoc.pyR.scSst|tidS(R(RRR(R3((s/usr/lib/python2.6/pydoc.pyR0stos2cSstt|dS(smore <(RR(R3((s/usr/lib/python2.6/pydoc.pyR4stsystems(less) 2>/dev/nullicSs
t|dS(tless(R(R3((s/usr/lib/python2.6/pydoc.pyR6siNs	more "%s"cSs
t|dS(tmore(R(R3((s/usr/lib/python2.6/pydoc.pyR=s(RR(RR(RRtstdoutRtFileTypet
plainpagertstdintisattyRRR(RvRZRRttempfiletmkstempR~tttypagertunlink(RtfdR((s/usr/lib/python2.6/pydoc.pyR$s0"#&
*cCstidd|S(s%Remove boldface formatting from text.s.R(R!R"(R3((s/usr/lib/python2.6/pydoc.pyRCscCsGti|d}y|i||iWntj
onXdS(s3Page through text by feeding it to another program.twN(RtpopentwriteR~Ry(R3tcmdtpipe((s/usr/lib/python2.6/pydoc.pyRGs
cCspddk}|i}t|d}|i||izti|d|dWdti|XdS(s<Page through text by invoking a program on a temporary file.iNRs "R(RtmktempRxRR~RRR(R3RRRRo((s/usr/lib/python2.6/pydoc.pyRPs

c	Cstt|d}yDddk}tii}|i|}|i|d}Wn(tt	fj
od}d}nXzCtii
ddd}}tiit|| ddx||otiid	tii|}|djotiidPn;|djo-tiid||d|d}qn|djo)|||}|djo
d}qntiidt||||!dd||}qWWd|o|i||i|nXdS(s%Page through text on a text terminal.s
iNcSstiidS(i(RRR(((s/usr/lib/python2.6/pydoc.pyRdscSstiid d S(ii(RRRn(((s/usr/lib/python2.6/pydoc.pyRgstLINESiis
-- more --tqtQs
          
s
RrtBsi(RR(s
s
(RrRs(RRtttyRRtfilenot	tcgetattrt	setcbreakRRR\RRRvRRRtflusht	tcsetattrt	TCSAFLUSH(	R3R'RRtoldtgetcharRtincR((s/usr/lib/python2.6/pydoc.pyR\sB

!
	




,cCstiit|dS(s>Simply print unformatted text.  This is the ultimate fallback.N(RRRR(R3((s/usr/lib/python2.6/pydoc.pyRscCs^ti|oJ|itijod|iSt|dod|iSd|iSnti|od|iSti|o!d|ii	|ii|ifSti
|o!d|ii	|ii|ifSti|od|iSti|od	|iSti
|od
|iSt|tijod|iiSt|iS(s/Produce a short description of the given thing.sbuilt-in module RUspackage smodule sbuilt-in function sgetset descriptor %s.%s.%ssmember descriptor %s.%s.%ssclass s	function smethod sinstance of (RR,RRRRR.Rt__objclass__RRR-R/R=RRtInstanceTypeR(tthing((s/usr/lib/python2.6/pydoc.pytdescribes2c	
Csg}t|dD]}|o||qq~}d\}}xU|t|joAtt||d d|}|o||d}}qDPqDW|oJ|}x<||D]0}yt||}Wqtj
odSXqW|Stt|ott|SdS(s@Locate an object by name or dotted path, importing as necessary.RiiN(Ni(	RR\R%RRRFRRRY(	RRRRR6Rtnt
nextmoduleR#((s/usr/lib/python2.6/pydoc.pytlocates&5 
t_OldStyleClasscBseZRS((RR(((s/usr/lib/python2.6/pydoc.pyRscCs\t|to2t||}|ptd|n||fS|t|ddfSdS(sDGiven an object or a path to an object, get the object and its name.s$no Python documentation found for %rRN(RR+RRRFR\(RRR#((s/usr/lib/python2.6/pydoc.pytresolvess Python Library Documentation: %scCsBt||\}}t|}ti|}|o,d|jo|d||id 7}n*|o"||j	o|d|i7}nt|tjo
|i}n{ti	|pMti
|p=ti|p-ti|pti
|p
t|tpt|}|d7}n||dti||S(sBRender text documentation, given an object or a path to an object.Rs in s in module s objects

(RRRR-RRRt_OLD_INSTANCE_TYPERR,R-R.RRRRR3R(RRRR#R*RR((s/usr/lib/python2.6/pydoc.pyt
render_docs$
cCsAytt|||Wn ttfj
o}|GHnXdS(sCDisplay text documentation, given an object or a path to an object.N(RRRR(RRRRJ((s/usr/lib/python2.6/pydoc.pyR&scCsytt||\}}tit|ti||}t|dd}|i||idG|dGHWn tt	fj
o}|GHnXdS(s<Write HTML documentation to a file in the current directory.s.htmlRtwroteN(
RthtmlRRRRxRR~RR(RRR#R*RRoRJ((s/usr/lib/python2.6/pydoc.pytwritedocs$

RcCsN|djo
h}nx0ti|g|D]\}}}t|q-WdS(sAWrite out HTML documentation for all modules in a directory tree.N(R\R0t
walk_packagesR(RtpkgpathtdoneR>R)R?((s/usr/lib/python2.6/pydoc.pyt	writedocss

tHelpercBseZhdd6dd6d&d6d'd6d(d6d)d
6d*d6d+d
6dd6d,d6dd6d-d6dd6d.d6dd6d/d6d0d6d1d6d2d6d d!6d3d"6dd$6dd%6d4d&6d5d'6d6d(6d7d*6d8d6d9d+6d:d6d;d.6Zhd<d76d=dL6d>d 6d?dM6d@dZ6dAd[6dBd^6Zhd_d>6d`d;6dadb6dcdd6dedf6dgdh6didj6d7dk6dldm6dndo6dpdq6drds6drdt6dudv6dudw6ZxfeiD]X\ZZxIeD]AZei	eeZ
ee
joe
dxeZ
ne
ee<qWqWhNdCd{6dDd76dEd6dFd6dGd6dHd6dId6dJd6dKd^6dLd6dd6dMd#6dNd6dOd6dPd6d{d6d{d6dQd6dRde6dSd6dTd6dUd6dVd6dd6dWd6ddL6dd6dXd6dYd6dZd6d[d6d\d6d]d6d^d6d_d6d`d6dad6dbd6dcd6dd6dd6ddd)6ded6dfd6dgd6dhd6didl6djd6dd6dkd6dld6dmd6dnd6dod6dpdp6dqd6drd6dsd6dtd6dud`6dvdM6dwd6dxd6dyd[6dzd 6d{d6dd6d|d6d}dZ6d
d6d'd6d*d	6dd
6dd6d~d6dd6dd6dd6Z
dZdZddZdZdZdZdZdddZd Zd!Zd"Zdd#Zd$Zdd%ZRS(tBOOLEANtandtwithtastassertRtbreaks	while fortclasssCLASSES SPECIALMETHODStcontinuetfunctiontdeftdeltBASICMETHODStifteliftelsettrytexcepttexectfinallytforsbreak continue whiletimporttfromtglobalt
NAMESPACESt
TRUTHVALUEtMODULEStintSEQUENCEMETHODS2t
COMPARISONtistlambdaR~tnottortpasstprinttraiset
EXCEPTIONStreturntwhilesbreak continue if TRUTHVALUEs CONTEXTMANAGERS EXCEPTIONS yieldtyieldt's'''sr'su's"""Rsr"su"tSTRINGSt+RPt*s**Rs//t%s<<s>>Rt|t^t~RRs<=s>=s==s!=s<>t	OPERATORStUNARYs+=s-=s*=s/=s%=s&=s|=s^=s<<=s>>=s**=s//=tAUGMENTEDASSIGNMENTtBITWISEtjtJtCOMPLEXsOPERATORS FORMATTINGtPOWERsTUPLES LISTS FUNCTIONSt,s ATTRIBUTES FLOAT MODULES OBJECTSRtELLIPSISs...sSLICINGS DICTIONARYLITERALSt:s	def classt@s\tPRIVATENAMESRYsPRIVATENAMES SPECIALMETHODSRXt
BACKQUOTESt`sTUPLES FUNCTIONS CALLSRRsLISTS SUBSCRIPTS SLICINGSt[t]RRsRSTRINGS UNICODE NUMBERS SEQUENCES MAPPINGS FUNCTIONS CLASSES MODULES FILES inspecttTYPEStstringss4str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPESsstring-methodssSTRINGS FORMATTINGt
STRINGMETHODSt
formatstringst
FORMATTINGs:encodings unicode SEQUENCES STRINGMETHODS FORMATTING TYPEStUNICODEtnumberssINTEGER FLOAT COMPLEX TYPEStNUMBERStintegerss	int rangetINTEGERtfloatings
float mathtFLOATt	imaginarys
complex cmathttypesseqs%STRINGMETHODS FORMATTING xrange LISTSt	SEQUENCEStDICTIONARIEStMAPPINGSttypesfunctionss	def TYPESttypesmethodssclass def CLASSES TYPEStMETHODSsbltin-code-objectsscompile FUNCTIONS TYPEStCODEOBJECTSsbltin-type-objectsstypes TYPEStTYPEOBJECTStFRAMEOBJECTSt
TRACEBACKSsbltin-null-objecttNONEsbltin-ellipsis-objecttSLICINGSsbltin-file-objectstFILEStspecialattrstSPECIALATTRIBUTESs!class SPECIALMETHODS PRIVATENAMESR}ttypesmodulestPACKAGESsoperator-summaryslambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES BACKQUOTEStEXPRESSIONSt
PRECEDENCEtobjectstOBJECTStspecialnamesstBASICMETHODS ATTRIBUTEMETHODS CALLABLEMETHODS SEQUENCEMETHODS1 MAPPINGMETHODS SEQUENCEMETHODS2 NUMBERMETHODS CLASSEStSPECIALMETHODSt
customizations cmp hash repr str SPECIALMETHODSsattribute-accesssATTRIBUTES SPECIALMETHODStATTRIBUTEMETHODSscallable-typessCALLS SPECIALMETHODStCALLABLEMETHODSssequence-typess)SEQUENCES SEQUENCEMETHODS2 SPECIALMETHODStSEQUENCEMETHODS1ssequence-methodss)SEQUENCES SEQUENCEMETHODS1 SPECIALMETHODSsMAPPINGS SPECIALMETHODStMAPPINGMETHODSs
numeric-typess*NUMBERS AUGMENTEDASSIGNMENT SPECIALMETHODSt
NUMBERMETHODSt	execmodels%NAMESPACES DYNAMICFEATURES EXCEPTIONSt	EXECUTIONtnamings*global ASSIGNMENT DELETION DYNAMICFEATURESsdynamic-featurestDYNAMICFEATUREStSCOPINGtFRAMESRstry except finally raisescoercion-rulestCONVERSIONSt	COERCIONStconversionstidentifiersskeywords SPECIALIDENTIFIERStIDENTIFIERSs
id-classestSPECIALIDENTIFIERSsatom-identifierss
atom-literalssHSTRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALStLITERALStTUPLESt	exprlistssTUPLES LITERALSt
TUPLELITERALSstypesseq-mutabletLISTLITERALStLISTStlistssLISTS LITERALSttypesmappingtDICTIONARYLITERALSRsDICTIONARIES LITERALSsstring-conversionssrepr str STRINGS LITERALSsattribute-referencess(getattr hasattr setattr ATTRIBUTEMETHODSt
ATTRIBUTESt
subscriptionst
SUBSCRIPTStslicingstcallstCALLStpowertunarytbinarytBINARYtshiftingtSHIFTINGtbitwisetcomparisonssEXPRESSIONS BASICMETHODStbooleanssEXPRESSIONS TRUTHVALUEt	ASSERTIONt
assignmentt
ASSIGNMENTt	augassigntDELETIONtPRINTINGt	RETURNINGt	IMPORTINGtCONDITIONALtcompoundsfor while break continuetLOOPINGttruths if while and or not BASICMETHODStdebuggertpdbt	DEBUGGINGscontext-managerstCONTEXTMANAGERScCs||_||_dS(N(tinputtoutput(RRjRk((s/usr/lib/python2.6/pydoc.pyRgs	cCs+tidddjo|dSdS(Niit?Rs<pydoc.Helper instance>(Rtstack(R((s/usr/lib/python2.6/pydoc.pyt__repr__scCsF|dj	o|i|n%|i|i|iiddS(Ns
You are now leaving help and returning to the Python interpreter.
If you want to ask for help on a particular object directly from the
interpreter, you can type "help(object)".  Executing "help('string')"
has the same effect as typing a particular string at the help> prompt.
(R\thelptintrotinteractRkR(Rtrequest((s/usr/lib/python2.6/pydoc.pyRNs


	c
Cs|iidxtoy|id}|pPnWnttfj
oPnXtt|dddd}t|djoPn|i	|qWdS(	Ns
shelp> RRRRtquit(Rsquit(
RkRRitgetlinetKeyboardInterrupttEOFErrorRR5RRo(RRr((s/usr/lib/python2.6/pydoc.pyRqs	cCsL|itijot|S|ii||ii|iiSdS(s.Read one line, using raw_input when available.N(RjRRt	raw_inputRkRRRn(Rtprompt((s/usr/lib/python2.6/pydoc.pyRts

cCst|tdjo>|i}|djo|iq|djo|iq|djo|iq|djo|iq|djo|iq|d djo|it|d	q||ijo|i	|q||i
jo|i|q||ijo|i|q|ot
|d
qn)t|to|nt
|d
|iiddS(NRRotkeywordstsymbolsttopicsR}ismodules isHelp on %s:s
(RRRptlistkeywordstlistsymbolst
listtopicstlistmodulesRRzt
showsymbolRyt	showtopicR{R&RRRkR(RRr((s/usr/lib/python2.6/pydoc.pyRos4





cCs|iidtid dS(Ns
Welcome to Python %s!  This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/tutorial/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics".  Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
i(RkRRR(R((s/usr/lib/python2.6/pydoc.pyRps	iiPc	
Cs|}|i||}t||d|}xt|D]}xt|D]~}|||}|t|joW|ii||||djo.|iidd|dt||qqSqSW|iidq@WdS(NiRs
(R2R%RRkR(	RtitemstcolumnsRtcolwRtrowRR((s/usr/lib/python2.6/pydoc.pyRs



6cCs*|iid|i|iidS(NsN
Here is a list of the Python keywords.  Enter any keyword to get more help.

(RkRRRyRE(R((s/usr/lib/python2.6/pydoc.pyR|s	cCs*|iid|i|iidS(Nsx
Here is a list of the punctuation symbols which Python assigns special meaning
to. Enter any symbol to get more help.

(RkRRRzRE(R((s/usr/lib/python2.6/pydoc.pyR}s	cCs*|iid|i|iidS(NsN
Here is a list of available topics.  Enter any topic name to get more help.

(RkRRR{RE(R((s/usr/lib/python2.6/pydoc.pyR~s	cCsyddk}Wn$tj
o|iiddSX|ii||ii|}|p|iidt|dSt|tdjo|i	||S|\}}y|i|}Wn.t
j
o"|iidt|dSXtt|d|o|pdd|}n|ooddk
}ddk}	|i
}
|	i|
idtt|dd|iid	|
indS(
Niso
Sorry, topic and keyword documentation is not available because the
module "pydoc_topics" could not be found.
sno documentation found for %s
Rs
RsRelated help topics: s, s
%s
(tpydoc_topicsRRkRR{RvRyRRRtKeyErrorRRtStringIOt	formattert
DumbWritertsend_flowing_dataRRtgetvalue(Rttopict
more_xrefsRttargettlabeltxrefsR&RRtbuffer((s/usr/lib/python2.6/pydoc.pyRs6	!cCs9|i|}|id\}}}|i||dS(NR(Rzt	partitionR(RtsymbolRRRYR((s/usr/lib/python2.6/pydoc.pyR>s
cs|o|iidt|nk|iidh}|dfd}tid||i|i|iiddS(NsO
Here is a list of matching modules.  Enter any module name to get more help.

sI
Please wait a moment while I gather a list of all available modules...

cSsR|o#|ddjo|d d}nt|ddjod||<ndS(Nis	.__init__s
 (package)Rii(R(RR)RR}((s/usr/lib/python2.6/pydoc.pytcallbackPscsd|ddS(N(R\(R)(R(s/usr/lib/python2.6/pydoc.pytonerrorUsRs
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
(RkRtapropost
ModuleScannertrunRRE(RRIR}R((Rs/usr/lib/python2.6/pydoc.pyRCs			(sassertR(Rs	while for(RsCLASSES SPECIALMETHODS(Rs	while for(RR(RR(Rs	while for(sexecR(Rsbreak continue while(RR(RR(RR(sinR(slambdas	FUNCTIONS(RR(sprintR(RR(Rs	FUNCTIONS(RR(Rsbreak continue if TRUTHVALUE(Rs CONTEXTMANAGERS EXCEPTIONS yield(RR(Rs'''sr'su's"""Rsr"su"(RRPRs**Rs//Rs<<s>>RRRRRRs<=s>=s==s!=s<>(RRs<=s>=s==s!=s<>(RPR(s+=s-=s*=s/=s%=s&=s|=s^=s<<=s>>=s**=s//=(s<<s>>RRRR(RR(stypessRSTRINGS UNICODE NUMBERS SEQUENCES MAPPINGS FUNCTIONS CLASSES MODULES FILES inspect(Rs4str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPES(sstring-methodssSTRINGS FORMATTING(RR(Rs:encodings unicode SEQUENCES STRINGMETHODS FORMATTING TYPES(RsINTEGER FLOAT COMPLEX TYPES(Rs	int range(Rs
float math(Rs
complex cmath(Rs%STRINGMETHODS FORMATTING xrange LISTS(Rs	def TYPES(Rsclass def CLASSES TYPES(sbltin-code-objectsscompile FUNCTIONS TYPES(sbltin-type-objectsstypes TYPES(sbltin-null-objectR(sbltin-ellipsis-objectR$(sbltin-file-objectsR(R&R(stypess!class SPECIALMETHODS PRIVATENAMES(R(R(soperator-summaryslambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES BACKQUOTES(R,R(R.stBASICMETHODS ATTRIBUTEMETHODS CALLABLEMETHODS SEQUENCEMETHODS1 MAPPINGMETHODS SEQUENCEMETHODS2 NUMBERMETHODS CLASSES(R0s cmp hash repr str SPECIALMETHODS(sattribute-accesssATTRIBUTES SPECIALMETHODS(scallable-typessCALLS SPECIALMETHODS(ssequence-typess)SEQUENCES SEQUENCEMETHODS2 SPECIALMETHODS(ssequence-methodss)SEQUENCES SEQUENCEMETHODS1 SPECIALMETHODS(ssequence-typessMAPPINGS SPECIALMETHODS(s
numeric-typess*NUMBERS AUGMENTEDASSIGNMENT SPECIALMETHODS(R6s%NAMESPACES DYNAMICFEATURES EXCEPTIONS(R8s*global ASSIGNMENT DELETION DYNAMICFEATURES(sdynamic-featuresR(s
exceptionsstry except finally raise(scoercion-rulesR<(R>R=(R?skeywords SPECIALIDENTIFIERS(s
id-classesR(satom-identifiersR(s
atom-literalssHSTRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS(RDsTUPLES LITERALS(stypesseq-mutableRF(RHsLISTS LITERALS(RIRJ(sdictsDICTIONARIES LITERALS(sstring-conversionssrepr str STRINGS LITERALS(sattribute-referencess(getattr hasattr setattr ATTRIBUTEMETHODS(RLR3(RNR(ROR*(RQR*(RRR*(RSR*(RUR*(RWR*(RXsEXPRESSIONS BASICMETHODS(RYsEXPRESSIONS TRUTHVALUE(R[R(R]R5(Rcsfor while break continue(Res if while and or not BASICMETHODS(RfRg(scontext-managersRN(RRRyt_symbols_inverseRzt	iteritemsRtsymbols_RRvR{RgRnR\RNRqRtRoRpRR|R}R~RRR(((s/usr/lib/python2.6/pydoc.pyRs>






		
								 	tScannercBs eZdZdZdZRS(sA generic tree iterator.cCs)||_g|_||_||_dS(N(trootststatetchildrentdescendp(RRRR((s/usr/lib/python2.6/pydoc.pyRgbs
		cCs|ip@|ipdS|iid}||i|fg|_n|id\}}|p|ii|iS|id}|i|o#|ii||i|fn|S(Nii(RRR\RRtnextRR(RtroottnodeRtchild((s/usr/lib/python2.6/pydoc.pyRhs


#(RRRSRgR(((s/usr/lib/python2.6/pydoc.pyR`s	RcBs eZdZddddZRS(s7An interruptible scanner that searches module synopses.cCs-|ot|}nt|_h}xtiD]}|djod||<|djo|d|dqtt|ipddd}t	t|d||djo|d||qq0q0WxCt
id|D]/\}}}	|ioPn|djo|d|dq|i|}
t
|
do^d	dk}t|i|
i|pd}t
|
d
o|
i|}qd}n<|
i|}
|
ipdid}t|
dd}t	t|d||djo||||qqW|o|ndS(Nt__main__iRs
is - Rt
get_sourceitget_filenameRT(RRjRsRRR\RRRSRR0Rtfind_moduleRRRqRRR{R|RF(RRRIt	completerRtseenR)RR>R?tloaderRRR((s/usr/lib/python2.6/pydoc.pyR{sF	



#$


$N(RRRSR\R(((s/usr/lib/python2.6/pydoc.pyRxscCsSd}yddk}Wntj
onX|idti||dS(sAPrint all the one-line module summaries that contain a substring.cSs;|ddjo|d d}n|G|od|GHdS(Nis	.__init__s
 (package)s- ((RR)R((s/usr/lib/python2.6/pydoc.pyRsiNtignore(twarningsRtfilterwarningsRR(RIRR((s/usr/lib/python2.6/pydoc.pyRs	
c	Csddk}ddk}ddk}d|ifdY}d|ifdY}d|ifdY}|i|_||_||_z:y|||i	Wnt
|ifj
onXWd|o|nXdS(NitMessagecBseZddZRS(icSsf|i}|ididi||||id|_|id|_|i|idS(Niscontent-transfer-encodingscontent-type(RRBRgt	getheadertencodingheadert
typeheadert	parsetypet
parseplist(RtfptseekableR((s/usr/lib/python2.6/pydoc.pyRgs	!
(RRRg(((s/usr/lib/python2.6/pydoc.pyRst
DocHandlercBs#eZdZdZdZRS(cSsayG|id|idd|i|iiti||Wntj
onXdS(NisContent-Types	text/html(t
send_responsetsend_headertend_headerstwfileRRRRy(RRR((s/usr/lib/python2.6/pydoc.pyt
send_documents

 cSs|i}|ddjo|d }n|d djo|d}n|o|djoyt|dd}Wn5tj
o)}|i|tit|dSX|o&|it|ti||q|i|dt	|nti
dd	d
}d}tdti
}ti||}d
tidd	d|g}h}	x*tiD]}
|iti|
|	qhW|t|d}|id|dS(Nis.htmliRRRs$no Python documentation found for %ss?<big><big><strong>Python: Index of Modules</strong></big></big>s#ffffffs#7799eecSsd||fS(Ns<a href="%s.html">%s</a>((R*((s/usr/lib/python2.6/pydoc.pyt	bltinlinkscSs
|djS(R((RP((s/usr/lib/python2.6/pydoc.pyRss<p>sBuilt-in Moduless#ee77aas<p align=right>
<font color="#909090" face="helvetica, arial"><strong>
pydoc</strong> by Ka-Ping Yee &lt;ping@lfw.org&gt;</font>sIndex of Modules(RRRRRRR+RRRRRXRRRRRRqR(RRR?RJRRtnamesRtindicesRR((s/usr/lib/python2.6/pydoc.pytdo_GETs>	&				

cWsdS(N((RR((s/usr/lib/python2.6/pydoc.pytlog_messages(RRRRR(((s/usr/lib/python2.6/pydoc.pyRs		#t	DocServercBs#eZdZdZdZRS(cSshtidjodpd}d|f|_d||f|_||_|ii||i|idS(Ntmacs	127.0.0.1t	localhostRs
http://%s:%d/(RR(taddressRRRKRgthandler(RtportRthost((s/usr/lib/python2.6/pydoc.pyRgs
	cSsmddk}t|_xQ|ipF|i|iigggd\}}}|o|iqqWdS(Nii(tselectRjRstsocketRthandle_request(RRtrdtwrtex((s/usr/lib/python2.6/pydoc.pytserve_until_quits	
-cSs/|ii||io|i|ndS(N(RKtserver_activateR(R((s/usr/lib/python2.6/pydoc.pyRs
(RRRgRR(((s/usr/lib/python2.6/pydoc.pyRs		(tBaseHTTPServert	mimetoolsRRtBaseHTTPRequestHandlert
HTTPServerRKRtMessageClassRRuterror(	RRRRRRRRR((s/usr/lib/python2.6/pydoc.pytserves$	.			c	CsqdddY}ddk}y8|i}z||}|iWd|iXWntj
onXdS(sEGraphical interface (starts web server and pops up a control window).tGUIcBseZddZdZdddZddZddZdZddZ	dZ
dd	Zdd
ZdZ
dZdd
ZRS(i(cSs||_d|_d|_ddk}|i||_|i|idd|_|i	|iddd|i
dd|_|i	|iddd|idd|_
|i||_|i|idd	|_|i|i|_|iid
|i|i	|idddd
d|idd|_tidjo|iiddn|iid|iid|i|iidddd|iidddddd|i
idddddd|iidddd|iidd|iidddddd|iidddd|iidtidjodpdf}|i|d|dd|_|iid|i|iid |i|i |d!d"d|ii!|_"|ii#d#|i"i$|i||_%|i	|i%dd$d|i|_&|i	|i%dd%d|i'|_(|i&idddddd|i(idddddd|ii)|ii*|_+|ii,|_-|ii.|ii.|ii.|i%i.|_/|i+|i/|_0|_1d
|_2|ii3d&|i+|i-f|ii4|i+|i-|ii5i6ddk7}|i8d't9d(||i:|ifi;dS()NiR3sStarting server...
 sopen browsertcommandRtdisabledsquit servings
Search fors<Return>tstoptpadyiRtsidetrighttpydoctWM_DELETE_WINDOWttoptfillRPtlefttexpandit	helveticaii
tfonttheightis
<Button-1>s<Double-Button-1>torienttverticaltyscrollcommandsgo to selectedshide resultss%dx%dRR(<twindowR\tservertscannertTkintertFramet
server_frmtLabelt	title_lbltButtonRxtopen_btnRstquit_btnt
search_frmt
search_lbltEntryt
search_enttbindRRtstop_btnRR(tpackRtprotocolt	focus_settListboxt
result_lstRtgotot	Scrollbartyviewt
result_scrtconfigRt
result_frmtgoto_btnthidethide_btnRCtwinfo_widthtminwidthtwinfo_heightt	minheighttwinfo_reqheighttbigminheighttbigwidtht	bigheighttexpandedtwm_geometryt
wm_minsizettktwilldispatcht	threadingtThreadRtreadyR
(RRRRRR((s/usr/lib/python2.6/pydoc.pyRgsp			!
#
&	 	cSsM||_|iidd|i|iidd|iidddS(NR3sPython documentation server at
Rtnormal(RRRRRR(RR((s/usr/lib/python2.6/pydoc.pyRTs
	cSs|p
|ii}yddk}|i|Wntj
otidjotid|qtidjo7yddk	}Wntj
oqX|i
|qtid|}|otid|qnXdS(NiRs
start "%s"Rs netscape -remote "openURL(%s)" &snetscape "%s" &(RRt
webbrowserRxRRR(RRtict	launchurl(RteventRRRtrc((s/usr/lib/python2.6/pydoc.pyRx[s cSs+|iod|i_n|iidS(Ni(RRsR(RR((s/usr/lib/python2.6/pydoc.pyRsks
cSs|ii}|iidd|iidd|iidd||ii|iidd|iidd	|i	idd
|i
ddk}|iod|i_
nt|_|id
|iid|i||ifidS(NRRRRR3sSearching for "%s"...RiRRiiRR(RRvRRRRtforgetRtdeleteRRRRRsRRRRCRR
(RRRIR((s/usr/lib/python2.6/pydoc.pyRps


cSsI|ddjo|d d}n|iid|d|pddS(Nis	.__init__s
 (package)Rs - s(no description)(Rtinsert(RRR)R((s/usr/lib/python2.6/pydoc.pyRCscSs'|iod|i_d|_ndS(Ni(RRsR\(RR((s/usr/lib/python2.6/pydoc.pyRs
cSsd|_|iidd|iidd|iidddddd	tid
jo|ii	n|iidddS(
NR3s
Search forRRRRRPRiRRR(
R\RRRRRRR(RR!(R((s/usr/lib/python2.6/pydoc.pyRs	cSs|iidddS(NRR(RR(RR((s/usr/lib/python2.6/pydoc.pyRscSs\|ii}|oBt|ii|dd}|id|ii|dndS(NiRs.html(RtcurselectionRRvRxRR(RRt	selectionR)((s/usr/lib/python2.6/pydoc.pyRs cSs|ipdS|ii|ii|ii|ii|_|ii|_	|ii
d|i|if|ii
|i|id|_dS(Ns%dx%di(RRR!RRRRRR
RRRRR(R((s/usr/lib/python2.6/pydoc.pytcollapses



 cSs|iodS|iidddd|iidddd|iiddddd	d
|iid|i|if|ii	|i
|id
|_dS(NRtbottomRRPRtyRtbothRis%dx%d(RRRRRRRRRRRR(R((s/usr/lib/python2.6/pydoc.pyRs
 cSs|i|idS(N(RR&(RR((s/usr/lib/python2.6/pydoc.pyR	s
N(RRRgRR\RxRsRRCRRRRR&RR	(((s/usr/lib/python2.6/pydoc.pyRsE						iN((RtTktmainlooptdestroyRu(RRRtgui((s/usr/lib/python2.6/pydoc.pyR-scCs&t|tot|tidjS(Ni(RR+RRtsep(RP((s/usr/lib/python2.6/pydoc.pytispathsc
Csddk}dddY}dtijoTtiitid}|tijotii|ntiiddny|itidd	\}}d}x|D]\}}|d
jotdS|djot	|dS|djoSyt
|}Wntj
o
|nXd
}	d}
t||	|
dS|djo
d}qqW|p
|nx|D]}t
|o"tii|od|GHPnyt
|o#tii|ot|}n|o<t
|o!tii|ot|q>t|nti|Wqtj
o}|GHqXqWWnY|i|fj
oDtiitid}
d|
ti|
|
|
|
tifGHnXdS(s@Command-line interface (looks at sys.argv to decide what to do).iNtBadUsagecBseZRS((RR(((s/usr/lib/python2.6/pydoc.pyR0sRiRisgk:p:ws-gs-ks-pcSsd|iGHdS(Nspydoc server ready at %s(R(R((s/usr/lib/python2.6/pydoc.pyRscSs	dGHdS(Nspydoc server stopped((((s/usr/lib/python2.6/pydoc.pytstoppedss-wsfile %r does not existspydoc - the Python documentation tool

%s <name> ...
    Show text documentation on something.  <name> may be the name of a
    Python keyword, topic, function, module, or package, or a dotted
    reference to a class or function within a module or module in a
    package.  If <name> contains a '%s', it is used as the path to a
    Python source file to document. If name is 'keywords', 'topics',
    or 'modules', a listing of these things is displayed.

%s -k <keyword>
    Search for a keyword in the synopsis lines of all available modules.

%s -p <port>
    Start an HTTP server on the given port on the local machine.

%s -g
    Pop up a graphical interface for finding and serving documentation.

%s -w <name> ...
    Write out the HTML documentation for a module to a file in the current
    directory.  If <name> contains a '%s', it is treated as a filename; if
    it names a directory, documentation is written for all the contents.
((tgetoptRRRtdirnametargvtremoveR#R-RRt
ValueErrorRR/texistsRhRRRRRoRRRR.(R2R0t	scriptdirtoptsRtwritingtopttvalRRR1targRJR((s/usr/lib/python2.6/pydoc.pytclisb



		

!	  R(ZRSR#RRR%RRzRR!RRRYR0RRtstringRRRRRRRRt	tracebackR	tcollectionsR
RRRRR(R+R2R5R:Rt
IGNORECASER;R<R@RDRQR\R_RfRlRqRt	ExceptionRRRRRRRsRtRRRRRRRRRR3RRRRRRR&RRRRRRoRRRRR-R/R>R(((s/usr/lib/python2.6/pydoc.pyt<module>#s
`:											
					27* R							&				
e,	
[			S

ACC SHELL 2018