%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/pydoc.pyc


Mac@s8dZdZdZdZdZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlmZddlmZmZmZmZmZmZmZmZdd	lmZydd
lmZWn'ek
r!defdYZnXd
ZdZ dZ!dZ"dZ#dZ$dZ%ej&dej'Z(dZ)dZ*dZ+dZ,e-e-dZ.dZ/y
e0Z1Wn9e2k
rde3fdYZ1dZ4ddZ5n%Xddl6Z6e6j7Z4e-dZ5d Z8d!Z9d"Z:id#Z;d$e<fd%YZ=d&Z>d'id(Z?d)fd*YZ@d+efd,YZAd-e@fd.YZBd/efd0YZCd1e@fd2YZDd3aEd4ZFd5ZGd6ZHd7ZId8ZJd9ZKd:ZLd'd;ZMeDZNeBZOd<fd=YZPeQePZRd'd>ZSd?d'd@ZTd?d'dAZUd'dBZVdCe-dDZWdEfdFYZXeXZYdGfdHYZZdIfdJYZ[dKZ\e-e-dLZ]dMZ^dNZ_dOZ`eadPkr4e`ndS(QsOGenerate 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.  Port number 0 can be
used to get an arbitrary unused port.

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

    https://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: 88564 $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
|jdS(Ni(tpop(tself((s!/usr/local/lib/python2.7/pydoc.pytpopleftAs(t__name__t
__module__R
(((s!/usr/local/lib/python2.7/pydoc.pyR
@scCsg}g}xvtjD]k}tjj|p.d}tjj|}||krtjj|r|j||j|qqW|S(sAConvert sys.path into a list of absolute, existing, unique paths.t.(tsystpathtostabspathtnormcasetisdirtappend(tdirstnormdirstdirtnormdir((s!/usr/local/lib/python2.7/pydoc.pytpathdirsFs
cCsOtj|ptj|}t|}|rKtjddt|pNdS(s-Get the doc string or comments for an object.s^ *
t(tinspecttgetdoctgetcommentst_encodetretsubR(tobjecttresult((s!/usr/local/lib/python2.7/pydoc.pyRRscCstt|d}t|dkr5|ddfSt|dkrst|drs|dt|ddfSdt|dfS(s>Split a doc string into a synopsis line (if any) and the rest.s
iiRi(RRtlenRR(tdoctlines((s!/usr/local/lib/python2.7/pydoc.pytsplitdocXs#cCs0|j}|j|kr,|jd|}n|S(s@Get a class name and qualify it with a module name if necessary.R(RR(R$tmodnametname((s!/usr/local/lib/python2.7/pydoc.pyt	classnameas	cCsYtj|pWtj|pWtj|pWtj|pWtj|pWtj|S(s>Check if an object is of a type that probably means it's data.(Rtismoduletisclasst	isroutinetisframetistracebacktiscode(R$((s!/usr/local/lib/python2.7/pydoc.pytisdatahscGs;x4|r6tt||d|d}|d}qW|S(s/Do a series of global replacements on a string.iii(RR(ttexttpairs((s!/usr/local/lib/python2.7/pydoc.pytreplacens	 cCsbt||kr^td|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(R4tmaxlentpretpost((s!/usr/local/lib/python2.7/pydoc.pytcramus
s at 0x[0-9a-f]{6,16}(>+)$cCstjd|S(s>Remove the hexadecimal id from a Python object representation.s\1(t_re_stripidR#(R4((s!/usr/local/lib/python2.7/pydoc.pytstripid~scCstj|ptj|S(N(Rtismethodtismethoddescriptor(tobj((s!/usr/local/lib/python2.7/pydoc.pyt_is_some_methodscCsi}x*tj|tD]\}}d||<qWx$|jD]}|jt|q=Wx'|jD]}t||||<qgW|S(Ni(Rt
getmembersRAt	__bases__tupdatet
allmethodstkeystgetattr(tcltmethodstkeytvaluetbase((s!/usr/local/lib/python2.7/pydoc.pyREscCsPg}g}x7|D]/}||r5|j|q|j|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/local/lib/python2.7/pydoc.pyt_split_lists
cCsd}||krd	S|jd
r8|jd
r8dS|jdrZt|d
rZdS|dk	rp||kS|jdSdS(s3Decide whether to show documentation on a variable.t__builtins__t__doc__t__file__t__path__RRt	__slots__t__package__it__it_t_fieldsN(RSRTRURVRRRWRX(t
startswithtendswiththasattrtNone(R+tallR@t
_hidden_names((s!/usr/local/lib/python2.7/pydoc.pytvisiblenames
cCsd}t|tj|S(sCWrap inspect.classify_class_attrs, with fixup for data descriptors.cSs:|\}}}}tj|r*d}n||||fS(Nsdata descriptor(Rtisdatadescriptor(tdataR+tkindtclsRK((s!/usr/local/lib/python2.7/pydoc.pytfixups	(tmapRtclassify_class_attrs(R$Rg((s!/usr/local/lib/python2.7/pydoc.pyRis	t_unicodecBseZRS((RR(((s!/usr/local/lib/python2.7/pydoc.pyRjstasciicCs|S(N((R4tencoding((s!/usr/local/lib/python2.7/pydoc.pyR!scCs-t|tr%|j|ptdS|SdS(Ntxmlcharrefreplace(t
isinstancetunicodetencodet	_encoding(R4Rl((s!/usr/local/lib/python2.7/pydoc.pyR!scCs)t|tr|jtdSt|S(NRm(RnRjRpRqtstr(R@((s!/usr/local/lib/python2.7/pydoc.pyt_binstrscCsStjj|rOx:dD]/}tjjtjj|d|rtSqWntS(s3Guess whether a path refers to a package directory.s.pys.pycs.pyot__init__(s.pys.pycs.pyo(RRRtisfileRtTruetFalse(Rtext((s!/usr/local/lib/python2.7/pydoc.pyt	ispackages

%cCs|j}x7|d dks,t|rE|j}|sPqqWt|}|d dkro|d}n|d dkr|d}|ddkr|d }nx&t|s|j}|sPqqWtt|dd	}nd}|S(
Nit#isr"""is"""is\i(treadlineRRR_(tfiletlineR%((s!/usr/local/lib/python2.7/pydoc.pytsource_synopsiss& 


cCstj|j}|j|d\}}|dksB||krtj|}yt|}Wntk
rudSX|rd|dkry t	j
d|||d}WndSX|jr|jjdnd}t
jd=nt|}|j||f||<n|S(s.Get the one-line summary out of a module file.tbit__temp__iiN(NN(Rtstattst_mtimetgetR_Rt
getmoduleinfotopentIOErrortimptload_moduleRTt
splitlinesRtmodulesR~tclose(tfilenametcachetmtimet
lastupdateR%tinfoR|tmodule((s!/usr/local/lib/python2.7/pydoc.pytsynopsiss&
 "

tErrorDuringImportcBs eZdZdZdZRS(sEErrors that occurred while trying to import something to document it.cCs7|\}}}||_||_||_||_dS(N(RtexcRKttb(RRtexc_infoRRKR((s!/usr/local/lib/python2.7/pydoc.pyRts
			cCsA|j}t|tjkr*|j}nd|j||jfS(Nsproblem in %s - %s: %s(Rttypettypest	ClassTypeRRRK(RR((s!/usr/local/lib/python2.7/pydoc.pyt__str__s	(RRRTRtR(((s!/usr/local/lib/python2.7/pydoc.pyR
s	cCstj}t|d}|jt||krBtj}n	tj}|jtj	j
|}tj	j|\}}t|d}y%tj||||d|f}Wnt
|tjnX|j|S(s<Import a Python source file or compiled file given its path.tr(Rt	get_magicRtreadR&tPY_COMPILEDt	PY_SOURCERRRtbasenametsplitextRRRR(RtmagicR|ReRR+RxR((s!/usr/local/lib/python2.7/pydoc.pyt
importfiles	
%
icCsy|r|tjkr|tjkrgtjD]}|j|dr1|^q1}x3|g|D]!}tj|||<tj|=qdWqnt|}Wntj\}}}	}
|tjkrttj|j|
qJ|tkrt|j	|
qJ|t
kr1t|	dddkr1dSt|tjnXxCt
|ddD].}yt||}Wq^tk
rdSXq^W|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(RRtbuiltin_module_namesR\t
__import__RRRUtSyntaxErrorRtImportErrorR	R_RRGtAttributeError(Rt	forceloadRtmtsubsRJRRRKRRtpart((s!/usr/local/lib/python2.7/pydoc.pyR,s./&
	tDoccBsieZddZddZeZZZZZ	Z
ejj
ejddejdd!dZRS(cGs||f|}tj|r,|j|Stj|rH|j|SyXtj|rg|j|Stj|r|j|Stj|r|j	|SWnt
k
rnXt|tr|j
|S|j|S(s%Generate documentation for an object.(RtisgetsetdescriptortdocdatatismemberdescriptorR-t	docmoduleR.tdocclassR/t
docroutineRRntpropertytdocpropertytdocother(RR$R+targs((s!/usr/local/lib/python2.7/pydoc.pytdocument_s"





cGs6d|odt|t|jf}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/local/lib/python2.7/pydoc.pytfailqs&tlibtpythoniicCsytj|}Wntk
r,d}nXtjjdd}tjj|}t|t	tr|j
dks|j|r|jtjj|dr|j
dkr|jdrd|j
d|j
jf}qtjj||j
jd}nd}|S(s*Return the location of module docs or Nones
(built-in)t
PYTHONDOCSshttps://docs.python.org/libraryterrnot
exceptionstgcRtmarshaltposixtsignalRtthreadt	zipimports
site-packagess	xml.etreestest.pydoc_modshttp://shttps://s%s/%st/s.html(
RRRRRRRRRR(s	xml.etreestest.pydoc_mod(shttp://shttps://N(Rt
getabsfileRRtenvironRRRRnRRR\RRRR_(RR$tbasedirR|tdocloc((s!/usr/local/lib/python2.7/pydoc.pyt	getdoclocys&

		%%N(RRR_RRRRRRRRRRRRtexec_prefixtversionR(((s!/usr/local/lib/python2.7/pydoc.pyR^s
tHTMLReprcBsPeZdZdZdZdZdZdZeZdZ	eZ
RS(sBClass for safely making an HTML representation of a Python object.cCs:tj|d|_|_d|_d|_|_dS(Nii
id(RRttmaxlisttmaxtupletmaxdictt	maxstringtmaxother(R((s!/usr/local/lib/python2.7/pydoc.pyRts
	cCst|ddddddS(Nt&s&amp;t<s&lt;t>s&gt;(R6(RR4((s!/usr/local/lib/python2.7/pydoc.pytescapescCstj||S(N(RR(RR$((s!/usr/local/lib/python2.7/pydoc.pyRscCstt|dr_dttt|jd}t||r_t||||Sn|jttt	||j
S(NRtrepr_RZ(R^RRRRRGRR;R=RR(RRQtlevelt
methodname((s!/usr/local/lib/python2.7/pydoc.pytrepr1s
"cCst||j}t|}d|krcdt|ddkrcd|d|j||dStjdd|j|S(Ns\s\\RRis-((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)s<font color="#c040c0">\1</font>(R;RRR6RR"R#(RRQRttestttestrepr((s!/usr/local/lib/python2.7/pydoc.pytrepr_strings$!	cCsKy)|jttt||jSWn|jd|jjSXdS(Ns
<%s instance>(RR;R=RRt	__class__R(RRQR((s!/usr/local/lib/python2.7/pydoc.pyt
repr_instances)(RRRTRtRRRRtrepr_strRtrepr_unicode(((s!/usr/local/lib/python2.7/pydoc.pyRs						tHTMLDoccBsOeZdZeZejZejZdZddZdddddZ
dZdZd	d
Z
dZdZd
ZdZdZdiiidZddZdddZddiidZdZddiiiddZdZddddZdddZddddZddZRS(s'Formatter class for HTML documentation.cCstd||fdS(sFormat an HTML page.s
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: %s</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">
%s
</body></html>Rk(R!(Rttitletcontents((s!/usr/local/lib/python2.7/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/local/lib/python2.7/pydoc.pytheadings	is&nbsp;c	
Csz|dkr!dd|d}nd|||f}	|rW|	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/local/lib/python2.7/pydoc.pytsectionscGsd|}|j||S(s$Format a section with a big heading.s<big><strong>%s</strong></big>(R(RRR((s!/usr/local/lib/python2.7/pydoc.pyt
bigsections
c
Cs7|jt|}t|dddddddd	S(s!Format literal preformatted text.s

s
 
Rs&nbsp;s
s<br>
(RRR6(RR4((s!/usr/local/lib/python2.7/pydoc.pyt	preformatsicCsd}t||d|}xt|D]u}|dd|}xPt|||||D]3}|t|kr_||||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/local/lib/python2.7/pydoc.pytmulticolumns"cCsd|S(Ns<font color="#909090">%s</font>((RR4((s!/usr/local/lib/python2.7/pydoc.pytgreyRcGs3x,|D]$}||krd|||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/local/lib/python2.7/pydoc.pytnamelinks
cCsm|jtjj|j}}t||r`t|||kr`d|j|t||fSt||S(sMake a link for a class.s<a href="%s.html#%s">%s</a>(RRRRRR^RGR,(RR$R*R+R((s!/usr/local/lib/python2.7/pydoc.pyt	classlinks
$cCsd|j|jfS(sMake a link for a module.s<a href="%s.html">%s</a>(R(RR$((s!/usr/local/lib/python2.7/pydoc.pyt
modulelinkscCso|\}}}}|r%|j|S|r>d||f}n
d|}|r[d|}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RdR+RRytshadowedturlR4((s!/usr/local/lib/python2.7/pydoc.pyt
modpkglink!s


cCs|p|j}g}d}tjd}xtr|j||}	|	sOPn|	j\}
}|j||||
!|	j\}}
}}}}|
r||jdd}|jd||fn|rdt	|}|jd|||fn|r=dt	|}|jd|||fn|r|||d!d	krz|jd
|j
||q|jd|nR|||d!d	kr|j|j
||||n|j|j
|||}q-W|j|||t|dS(
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.sself.<strong>%s</strong>R(RR"tcompileRvtsearchtspanRtgroupsR6tintRR(RR4RtfuncstclassesRItresultstheretpatterntmatchtstarttendR`tschemetrfctpeptselfdotR+R((s!/usr/local/lib/python2.7/pydoc.pytmarkup0s<	   "
c
Csd}x|D]}t|td	kr|\}}|d}||j||}|r||fkrg}x'|D]}	|j|j|	|qyW|dt|dd}n|d}q
t|tgkr
|d|j|||}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%tentrytctbasestparentsRL((s!/usr/local/lib/python2.7/pydoc.pyR[s 



c$Gs|j}y
|j}Wntk
r/d}nXt|d}g}xJtt|dD]2}|jdt||d d||fq\Wt||dd}	d|	}
yVt	j
|}|}tjdkrddl
}
|
j|}nd||f}Wntk
r"d	}nXg}t|d
rt|j}|d d.kr}|ddkr}t|dd!}n|jd|j|nt|dr|j|jt|jn|r|
dt|d}
n|j|}|dk	rdt}nd}|j|
ddd||}t	j|t	j}gi}}xt	j|t	jD]t\}}|dk	st	j|p||krtt|||r|j||fd|||<||<qqtqtWx|D]\}}x|jD]}|j|j}}tj j!|}||kr	|r	t||r	t"|||kr||kr|d|||<||<qqq	q	WqWgi}}xt	j|t	j#D]\}}|dk	st	j$|st	j||krt|||rY|j||fd|||<t	j%|rV||||<qVqYqqWg}xHt	j|t&D]4\}}t|||rv|j||fqvqvW|j't(||j)||}|od|}|d|}t|drg}x<t*j+|j,D](\} }}!|j|||!dfqW|j-|j.||j/}"||j0ddd|"}n=|r|j.||d }"||j0d!dd|"}n|rSt1d"|}#|j2t	j3|#d|g}"x6|D].\}}|"j|j4|||||qW||j0d#dd$t|"}n|rg}"x6|D].\}}|"j|j4|||||qfW||j0d%dd&t|"}n|r!g}"x-|D]%\}}|"j|j4||qW||j0d'dd(t|"d)}nt|d*rm|j't|j5|j)}"||j0d+dd|"}nt|d,r|j't|j6|j)}"||j0d-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>Rzs.html#s#-s<tt>%s</tt>s
<p>%s</p>
RVisPackage Contentss#aa55cccSs|j|dS(Ni(R(t	key_valueRM((s!/usr/local/lib/python2.7/pydoc.pyt<lambda>RtModulescSs|dS(Ni((R'((s!/usr/local/lib/python2.7/pydoc.pyR(RtClassess#ee77aat	Functionss#eeaa77tDatas#55aa55s<br>
t
__author__tAuthort__credits__tCreditss$Revision: (7Rt__all__RR_RRR&RRRRRtplatformt
nturl2pathtpathname2urlRR^RsR$RRR&RtlocalsRRBR-R.t	getmoduleRbRCRRRRGR/t	isbuiltint
isfunctionR3RRRtpkgutiltiter_modulesRVtsortRRRRhRtgetclasstreeRR-R/($RR$R+tmodtignoredR`tpartstlinksRt
linkednametheadRRR3tfilelinkRRRR%RRtcdictRJRKRLR*RRtfdictRdR'tmodpkgstimportertispkgRt	classlist((s!/usr/local/lib/python2.7/pydoc.pyRns	


'


 "	
" !+
"$!"
		!&	&				csj}|p|}j}g}	|	jdd(fdY}
|
ttj}t|dkrjdx+|D]#}dj|j	qWdnfd}
fd}fd	}t
fd
t}ix}|D]u\}}}}d|d||<}yt|}Wnt
k
rnXy||<WqPtk
rqPXqPWxn|r9|r|jn|d
dt|fd\}}tjkr.|}qn.krCd}ndjj	}|d7}y|jddWn!tk
r|jdnX|
d||d}|
d||d}|
d||d}|d||d}|d||d}|gks0t|}qWdj|	}	||krhd ||f}nd!|||f}|rg}x*|D]"}|jj|j	qW|d"t|d#}njtj}|od$|}j|d%d&|	d'|S()s.Produce HTML documentation for a class object.tHorizontalRulecs eZdZfdZRS(cSs
d|_dS(Ni(tneedone(R((s!/usr/local/lib/python2.7/pydoc.pyRtscs#|jrdnd|_dS(Ns<hr>
i(RK(R(tpush(s!/usr/local/lib/python2.7/pydoc.pytmaybes	
(RRRtRM((RL(s!/usr/local/lib/python2.7/pydoc.pyRJs	is&<dl><dt>Method resolution order:</dt>
s<dd>%s</dd>
s</dl>
c
st||\}}|rj|x|D]\}}}}yt|}Wn*tk
rj||n&Xj||dq6Wn|S(Ns
(RRRMRGt	Exceptiont_docdescriptorR(tmsgtattrsRNtokR+RethomeclsRK(RRthrtmdictR=R$RLR(s!/usr/local/lib/python2.7/pydoc.pytspills


cslt||\}}|rhj|x6|D]+\}}}}j||q6Wn|S(N(RRRMRO(RPRQRNRRR+ReRSRK(RTR=RLR(s!/usr/local/lib/python2.7/pydoc.pytspilldescriptorss

 c
st||\}}|rj|x|D]\}}}}jt||}t|dstj|rt|dd}	nd}	|	dkrd|nBjt	|j
}	d|	}	d||	fdq6Wn|S(Nt__call__RTs<dl><dt>%s</dl>
s<dd><tt>%s</tt>s<dl><dt>%s%s</dl>
s
(RRRMRRGR^RRcR_RRR(
RPRQRNRRR+ReRSRKRLR'(RRRTRUR=R$RLR(s!/usr/local/lib/python2.7/pydoc.pyt	spilldata#s$


cst|ddS(NiR@(Rb(Rd(R$(s!/usr/local/lib/python2.7/pydoc.pyR(9RRzt-ics|dkS(Ni((tt(t	thisclass(s!/usr/local/lib/python2.7/pydoc.pyR(PRsdefined heresinherited from %ss:<br>
RJcSs|dS(Ni((R[((s!/usr/local/lib/python2.7/pydoc.pyR(^RcSst|d|dS(Ni(tcmp(tt1tt2((s!/usr/local/lib/python2.7/pydoc.pyR(`Rs
Methods %scSs|ddkS(Nitmethod((R[((s!/usr/local/lib/python2.7/pydoc.pyR(dRsClass methods %scSs|ddkS(Nisclass method((R[((s!/usr/local/lib/python2.7/pydoc.pyR(fRsStatic methods %scSs|ddkS(Nis
static method((R[((s!/usr/local/lib/python2.7/pydoc.pyR(hRsData descriptors %scSs|ddkS(Nisdata descriptor((R[((s!/usr/local/lib/python2.7/pydoc.pyR(jRsData and other attributes %scSs|ddkS(NiRd((R[((s!/usr/local/lib/python2.7/pydoc.pyR(lRRs*<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((RRCRR
RtgetmroR&RMRRtfilterRiRGRNRR
RRt__builtin__R$R;tAssertionErrorRRRRR(RR$R+R=RRR>trealnameR!RRJtmroRLRVRWRYRQRJReRSRKtanchort	inheritedttagRR"R'((	RRRTRUR=R$RLRR\s!/usr/local/lib/python2.7/pydoc.pyRs				



$	$

		









 $cCs|jd|j|S(s)Format an argument default value as text.t=(RR(RR$((s!/usr/local/lib/python2.7/pydoc.pytformatvaluescCsG|j}|p|}|r$|jp'dd|}	d}
d}tj|r|j}|r||k	rd|j||}
qnD|jdk	rd|j|jj|}
nd|j||}
|j}n||krd|	|f}
ne|r?||j	kr?|j	||kr?d|jd||f}d	}n|}d
|	||f}
tj
|rtj|\}}}}tj||||d|j
}|dkrd
|}
|d	d!}qnd}|
||
o|jd|
}|rd|S|jt||j|||}|o2d|}d||fSdS(s;Produce HTML documentation for a function or method object.RRZis 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> = %sRks<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__R8t
getargspect
formatargspecRkRRRR(RR$R+R=RRRIRHReRgtnotetskipdocstimclassRtreallinkRtvarargstvarkwtdefaultstargspectdeclR'((s!/usr/local/lib/python2.7/pydoc.pyRsR				
cCsxg}|j}|r&|d|n|jdk	ra|jt||j}|d|n|ddj|S(Ns!<dl><dt><strong>%s</strong></dt>
s<dd><tt>%s</tt></dd>
s</dl>
R(RRTR_RRRR(RR+RKR=RRLR'((s!/usr/local/lib/python2.7/pydoc.pyROs	
cCs|j|||S(s*Produce html documentation for a property.(RO(RR$R+R=RH((s!/usr/local/lib/python2.7/pydoc.pyRscGs'|rd|pd}||j|S(s-Produce HTML documentation for a data object.s<strong>%s</strong> = R(R(RR$R+R=R>tlhs((s!/usr/local/lib/python2.7/pydoc.pyRscCs|j|||S(s1Produce html documentation for a data descriptor.(RO(RR$R+R=RH((s!/usr/local/lib/python2.7/pydoc.pyRscCsg}|dkri}nxLtj|gD]8\}}}|j|d|||kfd||<q.W|j|j||j}|j|dd|S(s2Generate an HTML index for a directory of modules.Ris#ffffffs#ee77aaN(R_R9R:RR;RRR(RRRRFRGR+RHR((s!/usr/local/lib/python2.7/pydoc.pytindexs	"
N(RRRTRt_repr_instanceRRRRR_RRRRRRRRRRRRRRkRRORRRR|(((s!/usr/local/lib/python2.7/pydoc.pyRs8				
							+|	5	
tTextReprcBs8eZdZdZdZdZeZdZRS(sAClass for safely making a text representation of a Python object.cCs:tj|d|_|_d|_d|_|_dS(Nii
id(RRtRRRRR(R((s!/usr/local/lib/python2.7/pydoc.pyRts
	cCs{tt|dr_dttt|jd}t||r_t||||Snttt||j	S(NRRRZ(
R^RRRRRGR;R=RR(RRQRR((s!/usr/local/lib/python2.7/pydoc.pyRs
"cCs^t||j}t|}d|krZdt|ddkrZd|d||dS|S(Ns\s\\RRi(R;RRR6(RRQRRR((s!/usr/local/lib/python2.7/pydoc.pyRs
$cCs9y ttt||jSWnd|jjSXdS(Ns
<%s instance>(R;R=RRRR(RRQR((s!/usr/local/lib/python2.7/pydoc.pyRs (RRRTRtRRRR(((s!/usr/local/lib/python2.7/pydoc.pyR~s				tTextDoccBseZdZeZejZdZddZdZdddZ
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(Ns((tch((s!/usr/local/lib/python2.7/pydoc.pyR(RR(RRh(RR4((s!/usr/local/lib/python2.7/pydoc.pytboldss    cCsX|s
dSt|d}t|d|}|rKt|d|d<nt|dS(s6Indent text by prepending a given prefix to each line.Rs
cSs||S(N((R}tprefix((s!/usr/local/lib/python2.7/pydoc.pyR(Ri(RRhRR(RR4RR(((s!/usr/local/lib/python2.7/pydoc.pytindentscCs(|j|dt|j|dS(s&Format a section with a given heading.s
s

(RRR(RRR((s!/usr/local/lib/python2.7/pydoc.pyRsRc
Csd}x|D]}t|tdkr|\}}||t||}|r||fkrt|d|}	|dt|	d}n|d}q
t|tgkr
||j||||d}q
q
W|S(sBRender in text a class tree as returned by inspect.getclasstree().RcSs
t||S(N(R,(R R((s!/usr/local/lib/python2.7/pydoc.pyR(&Rs(%s)s, s
s    ((RR,RhRR(
RRR*RRR%RR R!R"((s!/usr/local/lib/python2.7/pydoc.pyRs

	cCs|j}tt|\}}|jd||o:d|}y
|j}Wntk
rgd }nXytj|}Wnt	k
rd}nX||jd|}|j
|}	|	d k	r||jd|	}n|r||jd|}ng}
xutj|tjD]^\}}|d k	sMtj
|pD||krt|||rx|
j||fqxqqWg}
x~tj|tjD]g\}}|d k	stj|stj
||krt|||r|
j||fqqqWg}xHtj|tD]4\}}t|||r|j||fqqWg}t}t|drxWtj|jD]C\}}}|j||r|j|dq|j|qW|j||jd	t|d
}ng}xUtj|tjD]>\}}|jj|dr||kr|j|qqW|r|j||jdt|d
}n|
rtd
|
}|jtj|d|g}x0|
D](\}}|j|j |||qW||jdt|d
}n|
rwg}x0|
D](\}}|j|j |||q)W||jdt|d
}n|rg}x6|D].\}}|j|j!|||ddqW||jdt|d
}nt|drKt"|j#}|d d!kr2|ddkr2t$|dd!}n||jd|}nt|dr|||jdt"|j%}nt|dr||jdt"|j&}nt|dr||jdt"|j'}n|S("s5Produce text documentation for a given module object.tNAMEs - s
(built-in)tFILEsMODULE DOCStDESCRIPTIONRVs
 (package)sPACKAGE CONTENTSs
Rt
SUBMODULEScSs|dS(Ni((R'((s!/usr/local/lib/python2.7/pydoc.pyR(rRitCLASSESt	FUNCTIONSR8iFtDATAR$iR%s
Revision: itVERSIONR&tDATER-tAUTHORR/tCREDITSNs$Revision: ((RR)RRR1RR_RRRRRBR.R6RbRR/R7R3tsetR^R9R:RVtaddR;RR-R\RhRR<RRRsR$RR&R-R/(RR$R+R=tsynoptdescR%R`R|RRRJRKRRdRFt
modpkgs_namesRGR*RHt
submodulesRIRR((s!/usr/local/lib/python2.7/pydoc.pyR.s	 




""$	"

	""
	 " "&" """cs&j}|p|}j}jd}||krOdj|}nj|d|}|rt||}	|dt|	d}nt}
|
r|
dgpg}|jtt	j
}t|dkr&dx"|D]}
d	||
qWd
ndd fdY}|fd
}fd}fd}tfdt
}x0|r|r|jn|ddt|fd\}}tjkr|}qn+kr.d}ndtj}|j|d||d}|d||d}|d||d}|d||d}|d||d}|gkst|}qWdj|}|s|dS|djt|ddS(!s4Produce text documentation for a given class object.cSs
t||S(N(R,(R R((s!/usr/local/lib/python2.7/pydoc.pytmakenamessclass s	 = class s(%s)s, s
isMethod resolution order:s    RRJcs eZdZfdZRS(cSs
d|_dS(Ni(RK(R((s!/usr/local/lib/python2.7/pydoc.pyRtscs'|jrddnd|_dS(NRZiFi(RK(R(RL(s!/usr/local/lib/python2.7/pydoc.pyRMs	(RRRtRM((RL(s!/usr/local/lib/python2.7/pydoc.pyRJs	cst||\}}|rj|xy|D]n\}}}}yt|}Wn*tk
rj||q6Xj||q6Wn|S(N(RRRMRGRNROR(RPRQRNRRR+ReRSRK(RTR=R$RLR(s!/usr/local/lib/python2.7/pydoc.pyRVs


cslt||\}}|rhj|x6|D]+\}}}}j||q6Wn|S(N(RRRMRO(RPRQRNRRR+ReRSRK(RTR=RLR(s!/usr/local/lib/python2.7/pydoc.pyRWs

 c	
st||\}}|rj|x|D]w\}}}}t|dsftj|rut|}nd}jt||ddd|dq6Wn|S(NRXR8iFR's
(	RRRMR^RRcRR_RRG(	RPRQRNRRR+ReRSRKR'(RTR=R$RLR(s!/usr/local/lib/python2.7/pydoc.pyRYs

$cst|ddS(NiR@(Rb(Rd(R$(s!/usr/local/lib/python2.7/pydoc.pyR(Rics|dkS(Ni((R[(R\(s!/usr/local/lib/python2.7/pydoc.pyR(Rsdefined heresinherited from %ssMethods %s:
cSs|ddkS(NiR`((R[((s!/usr/local/lib/python2.7/pydoc.pyR(RsClass methods %s:
cSs|ddkS(Nisclass method((R[((s!/usr/local/lib/python2.7/pydoc.pyR(RsStatic methods %s:
cSs|ddkS(Nis
static method((R[((s!/usr/local/lib/python2.7/pydoc.pyR(RsData descriptors %s:
cSs|ddkS(Nisdata descriptor((R[((s!/usr/local/lib/python2.7/pydoc.pyR(RsData and other attributes %s:
cSs|ddkS(NiRd((R[((s!/usr/local/lib/python2.7/pydoc.pyR(Rs |  ((RRCRRRhRRRR
RRaR&RbRiR
RRRcR$R,R;RdRR(RR$R+R=R>ReR!RRR"R'RRfRLRJRVRWRYRQRhRi((RTR=R$RLRR\s!/usr/local/lib/python2.7/pydoc.pyRsn			


					







cCsd|j|S(s)Format an argument default value as text.Rj(R(RR$((s!/usr/local/lib/python2.7/pydoc.pyRk
scCs|j}|p|}d}d}tj|r|j}|rd||k	rdt||}qn>|jdk	rdt|jj|}ndt||}|j}n||kr|j	|}	nH|r||j
kr|j
||krd}n|j	|d|}	tj|rtj|\}
}}}
tj
|
|||
d|j}|d	kr|j	|d
}	|dd!}qnd}|	||}|r|d
St|pd}|d
|ot|j|d
SdS(s;Produce text documentation for a function or method object.Ris from s method of %s instances unbound %s methodis = Rks<lambda>s lambda is(...)s
N(RRR>RlR,RmR_RRnRRoR8RpRqRkRRR(RR$R+R=RHReRrRsRtRRRvRwRxRyRzR'((s!/usr/local/lib/python2.7/pydoc.pyRsB			cCszg}|j}|r5||j||dnt|pDd}|rm||j||dndj|S(Ns
R(RRRRR(RR+RKR=RRLR'((s!/usr/local/lib/python2.7/pydoc.pyRO9s	

cCs|j|||S(s*Produce text documentation for a property.(RO(RR$R+R=RH((s!/usr/local/lib/python2.7/pydoc.pyRFscCs|j|||S(s1Produce text documentation for a data descriptor.(RO(RR$R+R=RH((s!/usr/local/lib/python2.7/pydoc.pyRJsc
Cs|j|}|r_|r%|dp(d|}|t|}	|	dkr_||	 d}q_n|rx|j|dp{d|}|dk	r|d|jt|7}n|S(s-Produce text documentation for a data object.s = Ris...s
N(RR&RR_RRr(
RR$R+R=RR8R'RR}tchop((s!/usr/local/lib/python2.7/pydoc.pyRNs# N(RRRTR~R}RRRRR_RRRRkRRORRR(((s!/usr/local/lib/python2.7/pydoc.pyRs				dx	+	
cCstat|dS(sCThe first time this is called, determine what kind of pager to use.N(tgetpagertpager(R4((s!/usr/local/lib/python2.7/pydoc.pyR\s	cCsttjtjk	rtSttjds2tStjjsRtjjrVtSdt	j
krtjdkr{dSt	j
jddkrdSd	Snt	j
jddkrtStjdkstjj
d
rdStt	drt	jd
dkrdSddl}|j\}}t	j|z7tt	drpt	jd|dkrpdStSWdt	j|XdS(s2Decide what method to use for paging through text.tisattytPAGERR#cSstt|tjdS(NR(t
tempfilepagertplainRR(R4((s!/usr/local/lib/python2.7/pydoc.pyR(lRtTERMtdumbtemacscSstt|tjdS(NR(t	pipepagerRRR(R4((s!/usr/local/lib/python2.7/pydoc.pyR(nRcSst|tjdS(NR(RRR(R4((s!/usr/local/lib/python2.7/pydoc.pyR(pRtos2cSstt|dS(Nsmore <(RR(R4((s!/usr/local/lib/python2.7/pydoc.pyR(tRtsystems(less) 2>/dev/nullicSs
t|dS(Ntless(R(R4((s!/usr/local/lib/python2.7/pydoc.pyR(vRiNs	more "%s"cSs
t|dS(Ntmore(R(R4((s!/usr/local/lib/python2.7/pydoc.pyR(}R(RR(RR(RRtstdoutRtFileTypet
plainpagerR^tstdinRRRR2RR\RttempfiletmkstempRtttypagertunlink(RtfdR((s!/usr/local/lib/python2.7/pydoc.pyRbs4 
!$
(cCstjdd|S(s%Remove boldface formatting from text.s.R(R"R#(R4((s!/usr/local/lib/python2.7/pydoc.pyRscCsKtj|d}y!|jt||jWntk
rFnXdS(s3Page through text by feeding it to another program.twN(RtpopentwriteR!RR(R4tcmdtpipe((s!/usr/local/lib/python2.7/pydoc.pyRs
cCsvddl}|j}t|d}|jt||jztj|d|dWdtj|XdS(s<Page through text by invoking a program on a temporary file.iNRs "R(	RtmktempRRR!RRRR(R4RRRR|((s!/usr/local/lib/python2.7/pydoc.pyRs
c
Cs?ttt|ttjdtjd}yDddl}tjj	}|j
|}|j|d}Wn&tt
fk
rd}d}nXzxyttjjdd}Wntk
rd}nX|d	krd
}n|d	}}tjjt|| ddx||rtjjdtjj|}	|	dkrstjjdPn8|	dkrtjjd||d|d	}q#n|	dkr|||}|dkrd}qntjjdt||||!dd||}q#WWd|r:|j||j|nXdS(s%Page through text on a text terminal.Rls
iNcSstjjdS(Ni(RRR(((s!/usr/local/lib/python2.7/pydoc.pyR(RcSstjjd d S(Nii(RRR{(((s!/usr/local/lib/python2.7/pydoc.pyR(RtLINESiiis
-- more --tqtQs
          
s
RtBs(RR(s
s
(RRs(RR!RGRRRqRtttyRtfilenot	tcgetattrt	setcbreakRRR_R
RRRt
ValueErrorRRtflusht	tcsetattrt	TCSAFLUSH(
R4R(RRtoldtgetcharthRtincR ((s!/usr/local/lib/python2.7/pydoc.pyRsL3




	!

	
,cCs2tjjtt|ttjdtdS(s>Simply print unformatted text.  This is the ultimate fallback.RlN(RRRR!RRGRq(R4((s!/usr/local/lib/python2.7/pydoc.pyRscCsJtj|rT|jtjkr,d|jSt|drFd|jSd|jSntj|rnd|jStj|rd|jj	|jj|jfStj
|rd|jj	|jj|jfStj|rd|jStj|rd	|jStj
|rd
|jSt|tjkr=d|jjSt|jS(s/Produce a short description of the given thing.sbuilt-in module RVspackage smodule sbuilt-in function sgetset descriptor %s.%s.%ssmember descriptor %s.%s.%ssclass s	function smethod sinstance of (RR-RRRR^R7Rt__objclass__RRR.R8R>RRtInstanceTypeR(tthing((s!/usr/local/lib/python2.7/pydoc.pytdescribes2cCsgt|dD]}|r|^q}d\}}xQ|t|krtt||d d|}|r||d}}q7Pq7W|r|}nt}x:||D].}yt||}Wqtk
rdSXqW|S(s@Locate an object by name or dotted path, importing as necessary.RiiN(Ni(RR_R&RRRcRGR(RRRR?Rtnt
nextmoduleR$((s!/usr/local/lib/python2.7/pydoc.pytlocates ( 	
	t_OldStyleClasscBseZRS((RR(((s!/usr/local/lib/python2.7/pydoc.pyRscCsyt|trDt||}|dkr:td|n||fSt|dd}|t|trn|ndfSdS(sDGiven an object or a path to an object, get the object and its name.s$no Python documentation found for %rRN(RnRrRR_RRG(RRR$R+((s!/usr/local/lib/python2.7/pydoc.pytresolves
s Python Library Documentation: %scCs3t||\}}t|}tj|}|r`d|kr`|d||jd 7}n&|r||k	r|d|j7}nt|tkr|j}nstj	|ptj
|ptj|ptj|ptj
|pt|tst|}|d7}n||dtj||S(sBRender text documentation, given an object or a path to an object.Rs in s in module s objects

(RRRR6RRRt_OLD_INSTANCE_TYPERR-R.R/RRRnRR4R(RRRR$R+RR((s!/usr/local/lib/python2.7/pydoc.pyt
render_docs$
cCs?ytt|||Wnttfk
r:}|GHnXdS(sCDisplay text documentation, given an object or a path to an object.N(RRRR(RRRRK((s!/usr/local/lib/python2.7/pydoc.pyR'(scCsytt||\}}tjt|tj||}t|dd}|j||jdG|dGHWntt	fk
r}|GHnXdS(s<Write HTML documentation to a file in the current directory.s.htmlRtwroteN(
RthtmlRRRRRRRR(RRR$R+RR|RK((s!/usr/local/lib/python2.7/pydoc.pytwritedoc/s$

RcCsL|dkri}nx0tj|g|D]\}}}t|q+WdS(sAWrite out HTML documentation for all modules in a directory tree.N(R_R9t
walk_packagesR(RtpkgpathtdoneRGR*RH((s!/usr/local/lib/python2.7/pydoc.pyt	writedocs;s
	%tHelpercBseZidd6dd6d(d6d)d6d*d6d+d
6d,d6d-d
6dd6d.d6dd6d/d6dd6d0d6dd6d1d6d2d6d3d6d4d6d d!6d5d"6dd$6dd%6d6d&6d7d'6d8d(6d9d*6d:d6d;d+6d<d6d=d.6Zed/d>DZid?ed76d@dL6dAd 6dBdM6dCdZ6dDd[6dEd^6Zid_d>6d`d;6dadb6dcdd6dedf6dgdh6didj6d7dk6dldm6dndo6dpdq6drds6drdt6dudv6dudw6ZxdejD]V\ZZ	xGe	D]?Z
eje
eZeekredxeZneee
<qWqWiNdFd{6dGd76dHd6dId6dJd6dKd6dLd6dMd6dNd^6dOd6dd6dPd#6dQd6dRd6dSd6d{d6d{d6dTd6dUde6dVd6dWd6dXd6dYd6dd6dZd6ddL6dd6d[d6d\d6d]d6d^d6d_d6d`d6dad6dbd6dcd6ddd6ded6dfd6dd6dd6dgd)6dhd6did6djd6dkd6dldl6dmd6dd6dnd6dod6dpd6dqd6drd6dsdp6dtd6dud6dvd6dwd6dxd`6dydM6dzd6d{d6d|d[6d}d 6d~d6dd6dd6ddZ6d
d6d'd6d*d	6dd
6dd6dd6dd6dd6dd6ZdddZedZedZdZeZedZdZdZdZdZdd d!Zd"Zd#Zd$Zdd%Zd&Zdd'Z RS(tBOOLEANtandtwithtastassertRtbreaks	while fortclasssCLASSES SPECIALMETHODStcontinuetfunctiontdeftdeltBASICMETHODStifteliftelsettrytexcepttexectfinallytforsbreak continue whiletimporttfromtglobalt
NAMESPACESt
TRUTHVALUEtMODULEStintSEQUENCEMETHODS2t
COMPARISONtistlambdaRtnottortpasstprinttraiset
EXCEPTIONStreturntwhilesbreak continue if TRUTHVALUEs CONTEXTMANAGERS EXCEPTIONS yieldtyieldccs&|]}dD]}||Vq
qdS(t'RN(RR((t.0tpR((s!/usr/local/lib/python2.7/pydoc.pys	<genexpr>rsRRtuRs'''s"""RtSTRINGSt+RZt*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PRIVATENAMESRZsPRIVATENAMES SPECIALMETHODSRYt
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 PRIVATENAMESRt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(t_inputt_output(Rtinputtoutput((s!/usr/local/lib/python2.7/pydoc.pyRts	cCs|jptjS(N(RzRR(R((s!/usr/local/lib/python2.7/pydoc.pyR(RcCs|jptjS(N(R{RR(R((s!/usr/local/lib/python2.7/pydoc.pyR(RcCs)tjdddkr%|dSdS(Niit?Rs<pydoc.Helper instance>(Rtstack(R((s!/usr/local/lib/python2.7/pydoc.pyt__repr__scCsG||jk	r|j|n$|j|j|jjddS(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.
(t_GoInteractivethelptintrotinteractR}R(Rtrequest((s!/usr/local/lib/python2.7/pydoc.pyRXs

	cCs|jjdxtry|jd}|s5PnWnttfk
rPPnXt|}t|dkr|d|dkodknr|d|dd!kr|dd!}nt|dkrPn|j	|qWdS(
Ns
shelp> iiiRRiRtquit(RR(RR(
R}RRvtgetlinetKeyboardInterrupttEOFErrorRR&RR(RR((s!/usr/local/lib/python2.7/pydoc.pyRs	6cCsJ|jtjkrt|S|jj||jj|jjSdS(s.Read one line, using raw_input when available.N(R|RRt	raw_inputR}RRR{(Rtprompt((s!/usr/local/lib/python2.7/pydoc.pyR s


cCs{t|tdkrA|j}|dkr=|jqg|dkrV|jqg|dkro|jqg|dkr|jqg|dkr|jqg|d dkr|jt|d	qg||jkr|j	|qg||j
kr	|j|qg||jkr(|j|qg|rgt
|d
qgn&t|trZ|n
t
|d
|jjddS(NRRtkeywordstsymbolsttopicsRismodules isHelp on %s:s
(RRRtlistkeywordstlistsymbolst
listtopicstlistmodulesRRt
showsymbolRt	showtopicRR'RnRR}R(RR((s!/usr/local/lib/python2.7/pydoc.pyR)s4






cCs,|jjdttjd gddS(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/%s/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".
ii(R}RttupleRR(R((s!/usr/local/lib/python2.7/pydoc.pyR;s	iiPc		Cs|}|j||}t||d|}xt|D]}xt|D]z}|||}|t|krS|jj||||dkr|jjdd|dt||qqSqSW|jjdq@WdS(NiRs
(R;R&RR}R(	RtitemstcolumnsRtcolwRtrowRR((s!/usr/local/lib/python2.7/pydoc.pyRLs

4cCs*|jjd|j|jjdS(NsN
Here is a list of the Python keywords.  Enter any keyword to get more help.

(R}RRRRF(R((s!/usr/local/lib/python2.7/pydoc.pyRZs	cCs*|jjd|j|jjdS(Nsx
Here is a list of the punctuation symbols which Python assigns special meaning
to. Enter any symbol to get more help.

(R}RRRRF(R((s!/usr/local/lib/python2.7/pydoc.pyRas	cCs*|jjd|j|jjdS(NsN
Here is a list of available topics.  Enter any topic name to get more help.

(R}RRRRF(R((s!/usr/local/lib/python2.7/pydoc.pyRis	cCsyddl}Wn"tk
r4|jjddSX|jj||jj|}|sz|jjdt|dSt|tdkr|j	||S|\}}y|jj|}Wn,t
k
r|jjdt|dSXtt|d|r"|pdd|}n|rddl
}ddl}	|j
}
|	j|
jdtt|dd|jjd	|
jndS(
Nist
Sorry, topic and keyword documentation is not available because the
module "pydoc_data.topics" could not be found.
sno documentation found for %s
Rs
RsRelated help topics: s, s
%s
(tpydoc_data.topicsRR}RRRRRRRtKeyErrorRRtStringIOt	formattert
DumbWritertsend_flowing_dataRRtgetvalue(Rttopict
more_xrefst
pydoc_datattargettlabeltxrefsR'RRtbuffer((s!/usr/local/lib/python2.7/pydoc.pyRps6
	!
cCs9|j|}|jd\}}}|j||dS(NR(Rt	partitionR(RtsymbolRRRZR((s!/usr/local/lib/python2.7/pydoc.pyRs
cs|r#|jjdt|nj|jjdi}|dfd}tjd||j|j|jjddS(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...

cSsM|r'|ddkr'|d d}nt|ddkrId||<ndS(Nis	.__init__s
 (package)Rii(R(RR*RR((s!/usr/local/lib/python2.7/pydoc.pytcallbackscsd|ddS(N(R_(R*(R(s!/usr/local/lib/python2.7/pydoc.pytonerrorsRs
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
(R}Rtapropost
ModuleScannertrunRRF(RRJRR((Rs!/usr/local/lib/python2.7/pydoc.pyRs	
		(RR(Rs	while for(RsCLASSES SPECIALMETHODS(Rs	while for(RR(RR(Rs	while for(RR(Rsbreak continue while(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(Rsbreak continue if TRUTHVALUE(Rs CONTEXTMANAGERS EXCEPTIONS yield(RR(RRR(Rs'''s"""R(RRZRs**Rs//Rs<<s>>RRRR	RRs<=s>=s==s!=s<>(RRs<=s>=s==s!=s<>(RZR	(s+=s-=s*=s/=s%=s&=s|=s^=s<<=s>>=s**=s//=(s<<s>>RRRR	(RR(RsRSTRINGS UNICODE NUMBERS SEQUENCES MAPPINGS FUNCTIONS CLASSES MODULES FILES inspect(Rs4str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPES(sstring-methodssSTRINGS FORMATTING(RR
(Rs:encodings unicode SEQUENCES STRINGMETHODS FORMATTING TYPES(R!sINTEGER FLOAT COMPLEX TYPES(R#s	int range(R%s
float math(R's
complex cmath(R(s%STRINGMETHODS FORMATTING xrange LISTS(R,s	def TYPES(R-sclass def CLASSES TYPES(sbltin-code-objectsscompile FUNCTIONS TYPES(sbltin-type-objectsstypes TYPES(sbltin-null-objectR(sbltin-ellipsis-objectR4(sbltin-file-objectsR(R6R(Rs!class SPECIALMETHODS PRIVATENAMES(R8R(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(R@s 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(RFs%NAMESPACES DYNAMICFEATURES EXCEPTIONS(RHs*global ASSIGNMENT DELETION DYNAMICFEATURES(sdynamic-featuresR(Rstry except finally raise(scoercion-rulesRL(RNRM(ROskeywords SPECIALIDENTIFIERS(s
id-classesR(satom-identifiersR(s
atom-literalssHSTRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS(RTsTUPLES LITERALS(stypesseq-mutableRV(RXsLISTS LITERALS(RYRZ(RsDICTIONARIES LITERALS(sstring-conversionssrepr str STRINGS LITERALS(sattribute-referencess(getattr hasattr setattr ATTRIBUTEMETHODS(R\RC(R^R(R_R:(RaR:(RbR:(RcR:(ReR:(RgR:(RhsEXPRESSIONS BASICMETHODS(RisEXPRESSIONS TRUTHVALUE(RkR(RmRE(Rssfor while break continue(Rus if while and or not BASICMETHODS(RvRw(scontext-managersRN(!RRRRt_strprefixest_symbols_inverseRt	iteritemsRtsymbols_RRRR_RtRR|R}RR$RRXRRRRRRRRRRR(((s!/usr/local/lib/python2.7/pydoc.pyRBsB





		
								 	tScannercBs eZdZdZdZRS(sA generic tree iterator.cCs)||_g|_||_||_dS(N(trootststatetchildrentdescendp(RRRR((s!/usr/local/lib/python2.7/pydoc.pyRts
		cCs|jsF|jsdS|jjd}||j|fg|_n|jd\}}|sv|jj|jS|jd}|j|r|jj||j|fn|S(Nii(RRR_RRtnextRR(RtroottnodeRtchild((s!/usr/local/lib/python2.7/pydoc.pyRs		

"(RRRTRtR(((s!/usr/local/lib/python2.7/pydoc.pyRs	RcBs eZdZddddZRS(s7An interruptible scanner that searches module synopses.cCs|rt|}nt|_i}xtjD]}|dkr.d||<|dkri|d|dqtt|jp~ddd}t	t|d||dkr|d||qq.q.Wx@t
jd|D],\}}}	|jrPn|dkr|d|dq|j|}
t
|
drd	dl}t|j|
j|pad}t
|
d
r|
j|}qd}nC|
j|}
|
jr|
jjdnd}t|
dd}t	t|d||dkr||||qqW|r|ndS(Nt__main__iRs
is - Rt
get_sourceitget_filenameRU(RRwRRRR_RRRTRR9Rtfind_moduleR^RR~RRRRRG(RRRJt	completerRtseenR*RRGRHtloaderRRR((s!/usr/local/lib/python2.7/pydoc.pyRsB	
"#"		"#N(RRRTR_R(((s!/usr/local/lib/python2.7/pydoc.pyRsc	CsOd}d}tj+tjdtj||d|WdQXdS(sAPrint all the one-line module summaries that contain a substring.cSs8|ddkr!|d d}n|G|o2d|GHdS(Nis	.__init__s
 (package)s- ((RR*R((s!/usr/local/lib/python2.7/pydoc.pyRscSsdS(N((R*((s!/usr/local/lib/python2.7/pydoc.pyRstignoreRN(twarningstcatch_warningstfilterwarningsRR(RJRR((s!/usr/local/lib/python2.7/pydoc.pyRs
		

c	Csddl}ddl}ddl}d|jfdY}d|jfdY}d|jfdY}|j|_||_||_z8y|||j	Wnt
|jfk
rnXWd|r|nXdS(NitMessagecBseZddZRS(icSsf|j}|jdjdj||||jd|_|jd|_|j|jdS(Niscontent-transfer-encodingscontent-type(RRCRtt	getheadertencodingheadert
typeheadert	parsetypet
parseplist(RtfptseekableR((s!/usr/local/lib/python2.7/pydoc.pyRt	s	!
(RRRt(((s!/usr/local/lib/python2.7/pydoc.pyRst
DocHandlercBs#eZdZdZdZRS(cSs_yG|jd|jdd|j|jjtj||Wntk
rZnXdS(NisContent-Types	text/html(t
send_responsetsend_headertend_headerstwfileRRRR(RRR((s!/usr/local/lib/python2.7/pydoc.pyt
send_documents

 
cSs|j}|ddkr&|d }n|d dkrC|d}n|r|dkryt|dd}Wn3tk
r}|j|tjt|dSX|r|jt|tj||q|j|dt	|ntj
dd	d
}d}tdtj
}tj||}d
tjdd	d|g}i}	x*tjD]}
|jtj|
|	q]W|t|d}|jd|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/local/lib/python2.7/pydoc.pyt	bltinlink-scSs
|dkS(NR((RQ((s!/usr/local/lib/python2.7/pydoc.pyR(/Rs<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(RRRRRRRrRRRRRbRRRRRR|R(RRR@RKRRtnamesRtindicesRR((s!/usr/local/lib/python2.7/pydoc.pytdo_GETs<	

%				
cWsdS(N((RR((s!/usr/local/lib/python2.7/pydoc.pytlog_message=R(RRRRR(((s!/usr/local/lib/python2.7/pydoc.pyRs		#t	DocServercBs#eZdZdZdZRS(cSs>d}||f|_||_|jj||j|jdS(Nt	localhost(taddressRRLRtthandler(RtportRthost((s!/usr/local/lib/python2.7/pydoc.pyRt@s	cSsiddl}t|_xM|jsd|j|jjgggd\}}}|r|jqqWdS(Nii(tselectRwRtsocketRthandle_request(RRtrdtwrtex((s!/usr/local/lib/python2.7/pydoc.pytserve_until_quitFs	-cSsJ|jj|d|jd|jf|_|jrF|j|ndS(Ns
http://%s:%d/i(RLtserver_activateRtserver_portRR(R((s!/usr/local/lib/python2.7/pydoc.pyRMs	(RRRtRR(((s!/usr/local/lib/python2.7/pydoc.pyR?s		(tBaseHTTPServert	mimetoolsRRtBaseHTTPRequestHandlert
HTTPServerRLRtMessageClassRRterror(	RRRRRRRRR((s!/usr/local/lib/python2.7/pydoc.pytserves$	.		cCsodddY}ddl}y8|j}z||}|jWd|jXWntk
rjnXdS(sEGraphical interface (starts web server and pops up a control window).tGUIcBseZddZdZdddZddZddZdZddZ	dZ
dd	Zdd
ZdZ
dZdd
ZRS(i(c
Ss||_d|_d|_ddl}|j||_|j|jdd|_|j	|jddd|j
dd|_|j	|jddd|jdd|_
|j||_|j|jdd	|_|j|j|_|jjd
|j|j	|jdddd
d|jdd|_tjdkrU|jjddn|jjd|jjd|j|jjdddd|jjdddddd|j
jdddddd|jjdddd|jjdd|jjdddddd|jjdddd|jjdtjdkr[dp^df}|j|d|dd|_|jjd|j|jjd |j|j |d!d"d|jj!|_"|jj#d#|j"j$|j||_%|j	|j%dd$d|j|_&|j	|j%dd%d|j'|_(|j&jdddddd|j(jdddddd|jj)|jj*|_+|jj,|_-|jj.|jj.|jj.|j%j.|_/|j+|j/|_0|_1d
|_2|jj3d&|j+|j-f|jj4|j+|j-|jj5j6ddl7}|j8d't9d(||j:|jfj;dS()NiR4sStarting server...
 sopen browsertcommandRtdisabledsquit servings
Search fors<Return>tstoptpadyiR#tsidetrighttpydoctWM_DELETE_WINDOWttoptfillRQtlefttexpandit	helveticaii
tfonttheightis
<Button-1>s<Double-Button-1>torienttverticaltyscrollcommandsgo to selectedshide resultss%dx%dRR(<twindowR_tservertscannertTkintertFramet
server_frmtLabelt	title_lbltButtonRtopen_btnRtquit_btnt
search_frmt
search_lbltEntryt
search_enttbindR
Rtstop_btnRR2tpackRtprotocolt	focus_settListboxt
result_lstRtgotot	Scrollbartyviewt
result_scrtconfigRt
result_frmtgoto_btnthidethide_btnRDtwinfo_widthtminwidthtwinfo_heightt	minheighttwinfo_reqheighttbigminheighttbigwidtht	bigheighttexpandedtwm_geometryt
wm_minsizettktwilldispatcht	threadingtThreadRtreadyR(RRRRRR/((s!/usr/local/lib/python2.7/pydoc.pyRtbsp			!
!
&	 	cSsM||_|jjdd|j|jjdd|jjdddS(NR4sPython documentation server at
Rtnormal(RR
RRRR
(RR((s!/usr/local/lib/python2.7/pydoc.pyR1s
	cSs|p|jj}yddl}|j|Wnatk
rtjdkrbtjd|qtjd|}|rtjd|qnXdS(NiR#s
start "%s"s netscape -remote "openURL(%s)" &snetscape "%s" &(	RRt
webbrowserRRRR2RR(RteventRR3trc((s!/usr/local/lib/python2.7/pydoc.pyRs
cSs)|jrd|j_n|jjdS(Ni(RRR(RR4((s!/usr/local/lib/python2.7/pydoc.pyRs	c	Ss|jj}|jjdd|jjdd|jjdd||jj|jjdd|jjdd	|j	jdd
|j
ddl}|jrd|j_
nt|_d
}|jd|jjd|j||jfdtd|jdS(NRRRR2R4sSearching for "%s"...RiRRiicSsdS(N((R*((s!/usr/local/lib/python2.7/pydoc.pyRsRRtkwargsR(RRRRRRtforgetRtdeleteRRR/RRRR0RRDRRR(RR4RJR/R((s!/usr/local/lib/python2.7/pydoc.pyR
s"

		cSsF|ddkr!|d d}n|jjd|d|p=ddS(Nis	.__init__s
 (package)Rs - s(no description)(Rtinsert(RRR*R((s!/usr/local/lib/python2.7/pydoc.pyRDscSs%|jr!d|j_d|_ndS(Ni(RRR_(RR4((s!/usr/local/lib/python2.7/pydoc.pyRs	cSsd|_|jjdd|jjdd|jjdddddd	tjd
krm|jj	n|jjdddS(
NR4s
Search forRRRRRQRiR#RR(
R_RRRRRRR2RR7(R((s!/usr/local/lib/python2.7/pydoc.pyRs	cSs|jjdddS(NRR2(RR(RR4((s!/usr/local/lib/python2.7/pydoc.pyRscSsZ|jj}|rVt|jj|dd}|jd|jj|dndS(NiRs.html(RtcurselectionRRRRR(RR4t	selectionR*((s!/usr/local/lib/python2.7/pydoc.pyRs cSs|js
dS|jj|jj|jj|jj|_|jj|_	|jj
d|j|jf|jj
|j|jd|_dS(Ns%dx%di(R*RR7RRRR"R(R$R)R+R#R%R,(R((s!/usr/local/lib/python2.7/pydoc.pytcollapses	


 cSs|jr
dS|jjdddd|jjdddd|jjddddd	d
|jjd|j|jf|jj	|j
|jd
|_dS(NRtbottomRRQRtyRtbothRis%dx%d(R*RRRRRR+R(R)R,R#R'(R((s!/usr/local/lib/python2.7/pydoc.pyRs	 cSs|j|jdS(N(RR<(RR4((s!/usr/local/lib/python2.7/pydoc.pyR 	s
N(RRRtR1R_RRR
RDRRRRR<RR (((s!/usr/local/lib/python2.7/pydoc.pyRasE						iN((RtTktmainlooptdestroyR(RRRtgui((s!/usr/local/lib/python2.7/pydoc.pyRC_s
cCs%t|to$t|tjdkS(Ni(RnRrRRtsep(RQ((s!/usr/local/lib/python2.7/pydoc.pytispath	scCsddl}dddY}dtjkrtjjtjd}|tjkritjj|ntjjddny|jtjdd	\}}d}x|D]\}}|d
krtdS|dkrt	|dS|dkrGyt
|}Wntk
r |nXd
}	d}
t||	|
dS|dkrd}qqW|so|nx|D]}t
|rtjj|rd|GHPny|t
|rtjj|rt|}n|rt
|r	tjj|r	t|q#t|n
tj|Wqvtk
r>}|GHqvXqvWWnW|j|fk
rtjjtjd}
d|
tj|
|
|
|
tjfGHnXdS(s@Command-line interface (looks at sys.argv to decide what to do).iNtBadUsagecBseZRS((RR(((s!/usr/local/lib/python2.7/pydoc.pyRF	sRiRisgk:p:ws-gs-ks-pcSsd|jGHdS(Nspydoc server ready at %s(R(R((s!/usr/local/lib/python2.7/pydoc.pyR19	scSs	dGHdS(Nspydoc server stopped((((s!/usr/local/lib/python2.7/pydoc.pytstopped;	ss-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.  Port
    number 0 can be used to get an arbitrary unused port.

%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.
((tgetoptRRRtdirnametargvtremoveR9RCRR
RRREtexistsRuRRRRRRRRRD(RHRFt	scriptdirtoptsRtwritingtopttvalRR1RGtargRKR((s!/usr/local/lib/python2.7/pydoc.pytcli	s^


		
	
	

R(bRTR-R&R$R/RRRR"RRRcR9RRRtstringRRRRRRRRt	tracebackR	tcollectionsR
RRRRR)R,R3R6R;R	t
IGNORECASER<R=RARERRR_RbRiRoRjt	NameErrorR$RqR!tlocaletgetpreferredencodingRsRyR~RRNRRRRRRR~RRRRRRRRRRR4RRRRRRR'RRRRRRRRRCRERSR(((s!/usr/local/lib/python2.7/pydoc.pyt<module>$s
l:
											
		

					29*% Y		!					,				o	,	[			T

Zerion Mini Shell 1.0