403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/pydoc.pyc
ɎJc@sdZdZdZdZdZddkZddkZddkZddkZddk	Z	ddk
Z
ddkZddkZddk
lZddklZlZlZlZlZlZlZlZydd	klZWn)ej
od
efdYZnXdZd
ZdZdZdZ dZ!dZ"ei#dei$Z%dZ&dZ'dZ(dZ)e*dZ+dZ,dZ-dZ.hdZ/de0fdYZ1dZ2d hd!Z3d"fd#YZ4d$efd%YZ5d&e4fd'YZ6d(efd)YZ7d*e4fd+YZ8d,a9d-Z:d.Z;d/Z<d0Z=d1Z>d2Z?d3Z@d d4ZAe8ZBe6ZCd5fd6YZDeEeDZFd d7ZGd8d d9ZHd8d d:ZId d;ZJd<e*d=ZKd>fd?YZLeLeiMeiNZOd@fdAYZPdBfdCYZQdDZRe*e*dEZSdFZTdGZUdHZVeWdIjoeVndS(JsGenerate 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.

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: 71447 $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(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.pytpathdirsAs
 
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.pyRMscCstt|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.pytsplitdocRs%cCs2|i}|i|jo|id|}n|S(s@Get a class name and qualify it with a module name if necessary.R(R
R(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.pytisdatabs  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.pytreplacehs
 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(R2tmaxlentpretpost((s/usr/lib/python2.6/pydoc.pytcramos
s at 0x[0-9a-f]{6,16}(>+)$cCs+tittotid|S|S(s>Remove the hexadecimal id from a Python object representation.s\1(t_re_stripidtsearchtreprt	ExceptionR!(R2((s/usr/lib/python2.6/pydoc.pytstripidxscCsti|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
getmembersRBt	__bases__tupdatet
allmethodstkeystgetattr(tcltmethodstkeytvaluetbase((s/usr/lib/python2.6/pydoc.pyRFs

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__RR
t	__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)tkindtclsRL((s/usr/lib/python2.6/pydoc.pytfixups
(tmapRtclassify_class_attrs(R"Rf((s/usr/lib/python2.6/pydoc.pyRhs	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_moduleRUt
splitlinesRtmodulesRstclose(tfilenametcachetmtimet
lastupdateR#tinfoRqtmodule((s/usr/lib/python2.6/pydoc.pytsynopsiss&
 
tErrorDuringImportcBs eZdZdZdZRS(sEErrors that occurred while trying to import something to document it.cCs7|\}}}||_||_||_||_dS(N(RtexcRLttb(RRtexc_infoRRLR((s/usr/lib/python2.6/pydoc.pyRis
			cCsC|i}t|tijo
|i}nd|i||ifS(Nsproblem in %s - %s: %s(Rttypettypest	ClassTypeR
RRL(RR((s/usr/lib/python2.6/pydoc.pyt__str__s	
(R
RRURiR(((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(R|t	get_magicRztreadR$tPY_COMPILEDt	PY_SOURCERRRtbasenametsplitextR}RRR(RtmagicRqRdRR)RmR((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|qq|tjot|	i	|qq|t
jo.ttt
|	d ddgjodSt|tinXxEt|ddD]0}yt||}Wqtj
odSXqW|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).RiRQRiN(RRtbuiltin_module_namesR\t
__import__RRRVtSyntaxErrorRtImportErrorRRtstrR^RHtAttributeError(
Rt	forceloadRt_[1]tmtsubsRKRRRLRRtpart((s/usr/lib/python2.6/pydoc.pyt
safeimports4<

)
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(RR"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(R<RR
t	TypeError(RR"R)Rtmessage((s/usr/lib/python2.6/pydoc.pytfailLs'cCsyti|}Wntj
o
d}nXtiidd}tiiti	ddti
dd!}t|tto|i
djp0|i|op|itii|doP|ido d|id|i
f}qtii||i
d}nd}|S(s*Return the location of module docs or Nones
(built-in)t
PYTHONDOCSshttp://docs.python.org/librarytlibtpythoniiterrnot
exceptionstgcR|tmarshaltposixtsignalRtthreadt	zipimports
site-packagesshttp://s%s/%st/s.html(
serrnos
exceptionsRsimpsmarshalsposixssignalssysRs	zipimportN(Rt
getabsfileRRtenvironRxRRRtexec_prefixtversionRRR
R\RR^(RR"Rqtdocloctbasedir((s/usr/lib/python2.6/pydoc.pyt	getdoclocTs&	
   N(R
RR^RRRRRRRRR(((s/usr/lib/python2.6/pydoc.pyR9stHTMLReprcBsPeZdZdZdZdZdZdZeZdZ	eZ
RS(sBClass for safely making an HTML representation of a Python object.cCs:ti|d|_|_d|_d|_|_dS(Nii
id(RRitmaxlisttmaxtupletmaxdictt	maxstringtmaxother(R((s/usr/lib/python2.6/pydoc.pyRirs
	cCst|ddddddS(Nt&s&amp;t<s&lt;t>s&gt;(R4(RR2((s/usr/lib/python2.6/pydoc.pytescapexscCsti||S(N(RR<(RR"((s/usr/lib/python2.6/pydoc.pyR<{scCstt|doMdttt|id}t||ot||||Sn|ittt	||i
S(NR
trepr_R[(thasattrRRRR
RHRR9R>R<R(RRRtlevelt
methodname((s/usr/lib/python2.6/pydoc.pytrepr1~s
"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>(R9RR<R4RR R!(RRRRttestttestrepr((s/usr/lib/python2.6/pydoc.pytrepr_strings&"	cCsKy)|ittt||iSWn|id|iiSXdS(Ns
<%s instance>(RR9R>R<Rt	__class__R
(RRRR((s/usr/lib/python2.6/pydoc.pyt
repr_instances)(R
RRURiRR<RRtrepr_strRtrepr_unicode(((s/usr/lib/python2.6/pydoc.pyRps						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>((Rttitletcontents((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;((RRtfgcoltbgcoltextras((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^(
RRRRRtwidthtpreludet
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(RRR((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>
(RRR4(RR2((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(RtlisttformattcolsR#trowstcolti((s/usr/lib/python2.6/pydoc.pytmulticolumns
 cCsd|S(Ns<font color="#909090">%s</font>((RR2((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>((RR)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>(R
RRRxRRRHR*(RR"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
(RR"((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(RRcR)RRntshadowedturlR2((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 tcompileRkR;tspanRtgroupsR4tintRR(RR2RtfuncstclassesRJtresultstheretpatterntmatchtstarttendR_tschemetrfctpeptselfdotR)R((s/usr/lib/python2.6/pydoc.pytmarkups:!!#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(
RttreeR(tparentR#tentrytctbasestparentsRM((s/usr/lib/python2.6/pydoc.pyR.s$
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>Ros.html#s#-s<tt>%s</tt>s
<p>%s</p>
RWisPackage Contentss#aa55cccSs|i|dS(i(R(t	key_valueRN((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: (7R
t__all__RR^RRR$RRRRRtplatformt
nturl2pathtpathname2urlRRRRRRRRtlocalsRRCR+R,t	getmoduleRaRDRRRxRHR-t	isbuiltint
isfunctionR1RRRtpkgutiltiter_modulesRWtsortRRRRgRtgetclasstreeRR$R&($RR"R)tmodtignoredR_tpartstlinksRt
linkednametheadRRR*tfilelinkRRRR#RRtcdictRKRLRMR(RRtfdictRcR%tmodpkgstimportertispkgRt	classlist((s/usr/lib/python2.6/pydoc.pyRAs	
'
"#
	

"
$
.

&!
		!&	&		 		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
oqMXqMWxz|or|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}|gjpt|}qWdi|	}	||jod ||f}nd!|||f}|oNg}x*|D]"}|ii|i	qW|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.pyRiscs%|iodnd|_dS(Ns<hr>
i(RB(R(tpush(s/usr/lib/python2.6/pydoc.pytmaybes
(R
RRiRD((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
(RSRDRRH(tmsgtattrsROtokR)RdthomeclsRL(RtmdictthrRR"RCRR4(s/usr/lib/python2.6/pydoc.pytspills

csnt||\}}|oNi|x7|D]+\}}}}i||q7Wn|S(N(RSRDt_docdescriptor(RERFRORGR)RdRHRL(RJRRCR4(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__RUs<dl><dt>%s</dl>
s<dd><tt>%s</tt>s<dl><dt>%s%s</dl>
s
(RSRDRRHRRRbR^RRR(
RERFRORGR)RdRHRLRMR%(RRIRR"RJR4RRC(s/usr/lib/python2.6/pydoc.pyt	spilldatas&



cSst|dS(i(Ra(Rc((s/usr/lib/python2.6/pydoc.pyRsRot-ics|djS(i((tt(t	thisclass(s/usr/lib/python2.6/pydoc.pyRssdefined heresinherited from %ss:<br>
RKcSs|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.pyR/ssData descriptors %scSs|ddjS(isdata descriptor((RQ((s/usr/lib/python2.6/pydoc.pyR1ssData and other attributes %scSs|ddjS(iRc((RQ((s/usr/lib/python2.6/pydoc.pyR3sRs*<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((R
RDRR	RtgetmroR$RDRRtfilterRhRHRRRSt__builtin__R"R2tAssertionErrorRRRRR(RR"R)R4RRR5trealnameRRRAtmroRMRKRMRORFRKRdRHRLtanchort	inheritedttagRRR%((	RRIRRRR4R"RJRCRs/usr/lib/python2.6/pydoc.pyRs	
			

$	$		









 $cCs|id|i|S(s)Format an argument default value as text.t=(RR<(RR"((s/usr/lib/python2.6/pydoc.pytformatvalueIscCs`|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> = %sRas<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(R
RR?tim_classRtim_selfR^Rtim_funct__dict__R/t
getargspect
formatargspecRaRRRR(RR"R)R4RRRJRIR[R]tnotetskipdocstimclassRtreallinkRtvarargstvarkwtdefaultstargspectdeclR%((s/usr/lib/python2.6/pydoc.pyRMsR	
	
	




	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(RRUR^RRRR(RR)RLR4RRCR%((s/usr/lib/python2.6/pydoc.pyRLs	
cCs|i|||S(s*Produce html documentation for a property.(RL(RR"R)R4RI((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<(RR"R)R4R5tlhs((s/usr/lib/python2.6/pydoc.pyRscCs|i|||S(s1Produce html documentation for a data descriptor.(RL(RR"R)R4RI((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(RRRR=R>R)R?R((s/usr/lib/python2.6/pydoc.pytindexs


N(R
RRURt_repr_instanceR<RRRR^RRRRRRRRRRRRRRaRRLRRRRr(((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(RRiRRRRR(R((s/usr/lib/python2.6/pydoc.pyRis
	cCstt|doMdttt|id}t||ot||||Snttt||i	S(NR
RR[(
RRRRR
RHR9R>R<R(RRRRR((s/usr/lib/python2.6/pydoc.pyRs
"cCsat||i}t|}d|jo2dt|ddjod|d||dS|S(Ns\s\\RRi(R9RR<R4(RRRRRR((s/usr/lib/python2.6/pydoc.pyRs
&cCs9y ttt||iSWnd|iiSXdS(Ns
<%s instance>(R9R>R<RRR
(RRRR((s/usr/lib/python2.6/pydoc.pyRs (R
RRURiRRRR(((s/usr/lib/python2.6/pydoc.pyRts				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(RRg(RR2((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(((Rrtprefix((s/usr/lib/python2.6/pydoc.pyRsi(RRgRR(RR2RxR&((s/usr/lib/python2.6/pydoc.pytindentscCs(|i|dt|i|dS(s&Format a section with a given heading.s
s

(RwRRy(RRR((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*RgRR(
RRR(RRxR#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 DOCStDESCRIPTIONRWs
 (package)sPACKAGE CONTENTSs
Rt
SUBMODULEScSs|dS(i((R((s/usr/lib/python2.6/pydoc.pyR9sitCLASSESt	FUNCTIONSR6iFtDATARiRs
Revision: itVERSIONRtDATER$tAUTHORR&tCREDITSNs$Revision: ((R
R'RRR(RR^RRRRRCR,R-RaRR-R.R1tsetRR0R1RWtaddR2RR+R\RgRR3RRRRRRR$R&(RR"R)R4tsynoptdescR#R_RqRRRKRLRRcR=t
modpkgs_namesR>R(R?t
submodulesR@RR((s/usr/lib/python2.6/pydoc.pyRs	!



&	

	$
	 # #&#"###cs5i}|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:|o2|o|in|ddt|fd\}}tijo
|}qn.jo
d}ndti}|i|d||d}|d||d}|d||d}|d||d}|d||d}|gjpt|}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.pytmakename_ssclass s	 = class s(%s)s, s
isMethod resolution order:s    RRAcs eZdZfdZRS(cSs
d|_dS(Ni(RB(R((s/usr/lib/python2.6/pydoc.pyRixscs)|ioddnd|_dS(NRPiFi(RB(R(RC(s/usr/lib/python2.6/pydoc.pyRDzs
(R
RRiRD((RC(s/usr/lib/python2.6/pydoc.pyRAws	cszt||\}}|oZi|xC|D]7\}}}}it||q7Wn|S(N(RSRDRRH(RERFRORGR)RdRHRL(RJRR"RCR4(s/usr/lib/python2.6/pydoc.pyRKs

csnt||\}}|oNi|x7|D]+\}}}}i||q7Wn|S(N(RSRDRL(RERFRORGR)RdRHRL(RJRRCR4(s/usr/lib/python2.6/pydoc.pyRMs

!c	
st||\}}|oi|x|D]z\}}}}t|dpti|ot|}nd}it||ddd|dq7Wn|S(NRNR6iFR%s
(	RSRDRRRbRR^RRH(	RERFRORGR)RdRHRLR%(R"RJRRCR4(s/usr/lib/python2.6/pydoc.pyROs

%cSst|dS(i(Ra(Rc((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(iRc((RQ((s/usr/lib/python2.6/pydoc.pyRss |  ((R
RDRRwRgRRRR	RRWR$RXRhRRSRYR"R*R2RZRyR(RR"R)R4R[RRRRR%RR\RMRARKRMRORFR^R_((RRRR"RJR4RCs/usr/lib/python2.6/pydoc.pyRYsr	
	
	
	
		

	






	cCsd|i|S(s)Format an argument default value as text.R`(R<(RR"((s/usr/lib/python2.6/pydoc.pyRascCs|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 = Ras<lambda>s lambda is(...)s
N(R
RR?RbR*RcR^RRdRwReR/RfRgRaRRRy(RR"R)R4RIR[RhRiRjRRRlRmRnRoRpR%((s/usr/lib/python2.6/pydoc.pyRsB	
	




	cCsg}|i}|o!||i||dnt|pd}|o!||i||dndi|S(Ns
R(RRwRRyR(RR)RLR4RRCR%((s/usr/lib/python2.6/pydoc.pyRLs	cCs|i|||S(s*Produce text documentation for a property.(RL(RR"R)R4RI((s/usr/lib/python2.6/pydoc.pyRscCs|i|||S(s1Produce text documentation for a data descriptor.(RL(RR"R)R4RI((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(R<R$RwR^RyR(
RR"R)R4RR6R%R<Rrtchop((s/usr/lib/python2.6/pydoc.pyRs
%
!N(R
RRURtRsR<RwRyRR^RRRRaRRLRRR(((s/usr/lib/python2.6/pydoc.pyRus				dq	+	
cCstat|dS(sCThe first time this is called, determine what kind of pager to use.N(tgetpagertpager(R2((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(R2((s/usr/lib/python2.6/pydoc.pyR*stTERMtdumbtemacscSstt|tidS(R(t	pipepagerRRR(R2((s/usr/lib/python2.6/pydoc.pyR,scSst|tidS(R(RRR(R2((s/usr/lib/python2.6/pydoc.pyR.stos2cSstt|dS(smore <(RR(R2((s/usr/lib/python2.6/pydoc.pyR2stsystems(less) 2>/dev/nullicSs
t|dS(tless(R(R2((s/usr/lib/python2.6/pydoc.pyR4siNs	more "%s"cSs
t|dS(tmore(R(R2((s/usr/lib/python2.6/pydoc.pyR;s(RR(RR(RRtstdoutRtFileTypet
plainpagertstdintisattyRRR)RxR\RRttempfiletmkstempRtttypagertunlink(RtfdR((s/usr/lib/python2.6/pydoc.pyR"s0"#&
*cCstidd|S(s%Remove boldface formatting from text.s.R(R R!(R2((s/usr/lib/python2.6/pydoc.pyRAscCsGti|d}y|i||iWntj
onXdS(s3Page through text by feeding it to another program.twN(RtpopentwriteRR{(R2tcmdtpipe((s/usr/lib/python2.6/pydoc.pyREs
cCspddk}|i}t|d}|i||izti|d|dWdti|XdS(s<Page through text by invoking a program on a temporary file.iNRs "R(RtmktempRzRRRRR(R2RRRRq((s/usr/lib/python2.6/pydoc.pyRNs

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.pyRbscSstiid d S(ii(RRRp(((s/usr/lib/python2.6/pydoc.pyRestLINESiis
-- more --tqtQs
          
s
RttBsi(RR(s
s
(RtRs(RRtttyRRtfilenot	tcgetattrt	setcbreakRRR^RRRxRRRtflusht	tcsetattrt	TCSAFLUSH(	R2R&RRtoldtgetcharRtincR((s/usr/lib/python2.6/pydoc.pyRZsB

!
	




,cCstiit|dS(s>Simply print unformatted text.  This is the ultimate fallback.N(RRRR(R2((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 RWspackage smodule sbuilt-in function sgetset descriptor %s.%s.%ssmember descriptor %s.%s.%ssclass s	function smethod sinstance of (RR+R
RRRR.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$RRRHRRRY(	RRRRR6Rtnt
nextmoduleR"((s/usr/lib/python2.6/pydoc.pytlocates&5 
t_OldStyleClasscBseZRS((R
R(((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 %rR
N(RRRRRHR^(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-RR
Rt_OLD_INSTANCE_TYPERR+R,R-RRRRR2R(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(RRRRL((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(
RthtmlRRRRzRRRR(RRR"R)RRqRL((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
COMPARISONtistlambdaRtnottortpasstprinttraiset
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PRIVATENAMESR[sPRIVATENAMES SPECIALMETHODSRZt
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(RRkRl((s/usr/lib/python2.6/pydoc.pyRis	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^thelptintrotinteractRlR(Rtrequest((s/usr/lib/python2.6/pydoc.pyRNs


	c
Cs|iidxtoy|id}|pPnWnttfj
oPnXtt|dddd}t|djoPn|i	|qWdS(	Ns
shelp> RRRRtquit(Rsquit(
RlRRktgetlinetKeyboardInterrupttEOFErrorRR4RRp(RRs((s/usr/lib/python2.6/pydoc.pyRrs	cCsL|itijot|S|ii||ii|iiSdS(s.Read one line, using raw_input when available.N(RkRRt	raw_inputRlRRRp(Rtprompt((s/usr/lib/python2.6/pydoc.pyRus

cCst|tdjo2|djo|iqs|djo|iqs|djo|iqs|djo|iqs|djo|iqs|d djo|it|d	qs||ijo|i|qs||i	jo|i
|qs||ijo|i
|qs|ot|d
qsn)t
|to|nt|d
|iiddS(NRRptkeywordstsymbolsttopicsRismodules isHelp on %s:s
(RRqtlistkeywordstlistsymbolst
listtopicstlistmodulesRR{t
showsymbolRzt	showtopicR|R%RRRlR(RRs((s/usr/lib/python2.6/pydoc.pyRps2





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(RlRRR(R((s/usr/lib/python2.6/pydoc.pyRqs	iiPc	
Cs|}|i||}t||d|}xt|D]}xt|D]~}|||}|t|joW|ii||||djo.|iidd|dt||qqSqSW|iidq@WdS(NiRs
(R2R$RRlR(	RtitemstcolumnsRtcolwRtrowRR((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.

(RlRRRzRG(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.

(RlRRR{RG(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.

(RlRRR|RG(R((s/usr/lib/python2.6/pydoc.pyRs	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_topicsRRlRR|RxRzR<RRtKeyErrorRRtStringIOt	formattert
DumbWritertsend_flowing_dataRRtgetvalue(Rttopict
more_xrefsRttargettlabeltxrefsR%RRtbuffer((s/usr/lib/python2.6/pydoc.pyRs6	!cCs9|i|}|id\}}}|i||dS(NR(R{t	partitionR(RtsymbolRRR[R((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.pytcallbackMscsd|ddS(N(R^(R((R(s/usr/lib/python2.6/pydoc.pytonerrorRsRs
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
(RlRtapropost
ModuleScannertrunRRG(RRKRR((Rs/usr/lib/python2.6/pydoc.pyR@s			(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(R1s 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(R7s%NAMESPACES DYNAMICFEATURES EXCEPTIONS(R9s*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(REsTUPLES LITERALS(stypesseq-mutableRG(RIsLISTS LITERALS(RJRK(sdictsDICTIONARIES LITERALS(sstring-conversionssrepr str STRINGS LITERALS(sattribute-referencess(getattr hasattr setattr ATTRIBUTEMETHODS(RMR4(ROR(RPR+(RRR+(RSR+(RTR+(RVR+(RXR+(RYsEXPRESSIONS BASICMETHODS(RZsEXPRESSIONS TRUTHVALUE(R\R(R^R6(Rdsfor while break continue(Rfs if while and or not BASICMETHODS(RgRh(scontext-managersRN(R
RRzt_symbols_inverseR{t	iteritemsRtsymbols_RRxR|RiRoR^RNRrRuRpRqRR}R~RRRR(((s/usr/lib/python2.6/pydoc.pyRs>






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


#(R
RRURiR(((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_filenameRV(RRlRtRRR^RRRURR0Rtfind_moduleRRRsRRR}R~RH(RRRKt	completerRtseenR(RR>R?tloaderRRR((s/usr/lib/python2.6/pydoc.pyRxsF	



#$


$N(R
RRUR^R(((s/usr/lib/python2.6/pydoc.pyRuscCsSd}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(RKRR((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(RRDRit	getheadertencodingheadert
typeheadert	parsetypet
parseplist(RtfptseekableR((s/usr/lib/python2.6/pydoc.pyRis	!
(R
RRi(((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_headerstwfileRRRR{(RRR((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((RR((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(RRRRRRRRRR<RRXRRRRRRrR(RRRARLRRtnamesRtindicesRR((s/usr/lib/python2.6/pydoc.pytdo_GETs>	&				

cWsdS(N((RR((s/usr/lib/python2.6/pydoc.pytlog_messages(R
RRRR(((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)taddressRRRMRithandler(RtportRthost((s/usr/lib/python2.6/pydoc.pyRis
	cSsmddk}t|_xQ|ipF|i|iigggd\}}}|o|iqqWdS(Nii(tselectRlRttsocketRthandle_request(RRtrdtwrtex((s/usr/lib/python2.6/pydoc.pytserve_until_quits	
-cSs/|ii||io|i|ndS(N(RMtserver_activateR(R((s/usr/lib/python2.6/pydoc.pyRs
(R
RRiRR(((s/usr/lib/python2.6/pydoc.pyRs		(tBaseHTTPServert	mimetoolsRRtBaseHTTPRequestHandlert
HTTPServerRMRtMessageClassRRvterror(	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()NiR2sStarting server...
 sopen browsertcommandRtdisabledsquit servings
Search fors<Return>tstoptpadyiRtsidetrighttpydoctWM_DELETE_WINDOWttoptfillRRtlefttexpandit	helveticaii
tfonttheightis
<Button-1>s<Double-Button-1>torienttverticaltyscrollcommandsgo to selectedshide resultss%dx%dRR(<twindowR^tservertscannertTkintertFramet
server_frmtLabelt	title_lbltButtonRztopen_btnRttquit_btnt
search_frmt
search_lbltEntryt
search_enttbindR;Rtstop_btnRR)tpackRtprotocolt	focus_settListboxt
result_lstRtgotot	Scrollbartyviewt
result_scrtconfigRt
result_frmtgoto_btnthidethide_btnREtwinfo_widthtminwidthtwinfo_heightt	minheighttwinfo_reqheighttbigminheighttbigwidtht	bigheighttexpandedtwm_geometryt
wm_minsizettktwilldispatcht	threadingtThreadRtreadyR(RRRRRR((s/usr/lib/python2.6/pydoc.pyRisp			!
#
&	 	cSsM||_|iidd|i|iidd|iidddS(NR2sPython documentation server at
Rtnormal(RRRRRR(RR((s/usr/lib/python2.6/pydoc.pyRQs
	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
webbrowserRzRRR)RRtict	launchurl(RteventRRRtrc((s/usr/lib/python2.6/pydoc.pyRzXs cSs+|iod|i_n|iidS(Ni(RRtR(RR ((s/usr/lib/python2.6/pydoc.pyRths
cSs|ii}|iidd|iidd|iidd||ii|iidd|iidd	|i	idd
|i
ddk}|iod|i_
nt|_|id
|iid|i||ifidS(NRRRRR2sSearching for "%s"...RiRRiiRR(RRxRRRRtforgetRtdeleteR	RRRRtRRRRERR(RR RKR((s/usr/lib/python2.6/pydoc.pyR;ms


cSsI|ddjo|d d}n|iid|d|pddS(Nis	.__init__s
 (package)Rs - s(no description)(Rtinsert(RRR(R((s/usr/lib/python2.6/pydoc.pyREscSs'|iod|i_d|_ndS(Ni(RRtR^(RR ((s/usr/lib/python2.6/pydoc.pyRs
cSsd|_|iidd|iidd|iidddddd	tid
jo|ii	n|iidddS(
NR2s
Search forRRRRRRRiRRR(
R^RRRRRRR)RR"(R((s/usr/lib/python2.6/pydoc.pyRs	cSs|iidddS(NRR(R	R(RR ((s/usr/lib/python2.6/pydoc.pyRscSs\|ii}|oBt|ii|dd}|id|ii|dndS(NiRs.html(RtcurselectionRRxRzRR(RR t	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"RRRRRRRRR
RR(R((s/usr/lib/python2.6/pydoc.pytcollapses



 cSs|iodS|iidddd|iidddd|iiddddd	d
|iid|i|if|ii	|i
|id
|_dS(NRtbottomRRRRtyRtbothRis%dx%d(RRRRRRRRRRR
R(R((s/usr/lib/python2.6/pydoc.pyRs
 cSs|i|idS(N(RR'(RR ((s/usr/lib/python2.6/pydoc.pyR
s
N(R
RRiRR^RzRtR;RERRRRR'RR
(((s/usr/lib/python2.6/pydoc.pyRsE						iN((RtTktmainlooptdestroyRv(RRRtgui((s/usr/lib/python2.6/pydoc.pyR.	scCs&t|tot|tidjS(Ni(RRRRtsep(RR((s/usr/lib/python2.6/pydoc.pytispathsc
Csddk}dddY}tiitid}|tijotii|ntiiddy|itidd\}}d}x|D]\}}|d	jot|dS|d
joSyt	|}Wnt
j
o
|nXd}	d}
t||	|
dS|d
jo
d}qqW|p
|nx|D]}t|o"tii
|od|GHPnyt|o#tii|ot|}n|o<t|o!tii|ot|qt|nti|WqYtj
o}|GHqYXqYWWnV|i|fj
oAtiitid}
d|
ti|
|
|
tifGHnXdS(s@Command-line interface (looks at sys.argv to decide what to do).iNtBadUsagecBseZRS((R
R(((s/usr/lib/python2.6/pydoc.pyR1siRisgk:p:ws-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 existscpydoc - 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 -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.
((tgetoptRRtdirnameRtargvtremoveR$RRt
ValueErrorRR0texistsRjRRRRRpRRRR/(R3R1t	scriptdirtoptsRtwritingtopttvalRRR2targRLR((s/usr/lib/python2.6/pydoc.pytclisZ


		

!	  R(XRUR$RRR&RR|RR RRRYR0R<RtstringRRRRRRRRtcollectionsR	RRRRR'R*R1R4R9Rt
IGNORECASER:R>RBRFRSR^RaRhRnRsRR=RRRRRRRtRuRRRRRRRRRR2RRRRRRR%RRRRRRpRRRRR.R0R?R
(((s/usr/lib/python2.6/pydoc.pyt<module> s
`:											
					27* R							&				
d,	
[			K

Youez - 2016 - github.com/yon3zu
LinuXploit