ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/proc/self/root/proc/thread-self/root/lib64/python2.7/
Upload File :
Current File : //proc/self/root/proc/self/root/proc/self/root/proc/thread-self/root/lib64/python2.7/pydoc.pyc

�
]цdc@s�dZdZdZdZdZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlmZddlmZmZmZmZmZmZmZmZdd	lmZydd
lmZWn'ek
r!defd��YZnXd
�Zd�Z d�Z!d�Z"d�Z#d�Z$d�Z%ej&dej'�Z(d�Z)d�Z*d�Z+d�Z,e-e-d�Z.d�Z/d�Z0d�Z1id�Z2de3fd��YZ4d �Z5d!id"�Z6d#fd$��YZ7d%efd&��YZ8d'e7fd(��YZ9d)efd*��YZ:d+e7fd,��YZ;d-�a<d.�Z=d/�Z>d0�Z?d1�Z@d2�ZAd3�ZBd4�ZCd!d5�ZDe;�ZEe9�ZFd6fd7��YZGeHeG��ZId!d8�ZJd9d!d:�ZKd9d!d;�ZLd!d<�ZMd=e-d>�ZNd?fd@��YZOeO�ZPdAfdB��YZQdCfdD��YZRdE�ZSe-e-dF�ZTdG�ZUdH�ZVdI�ZWeXdJkr�eW�ndS(Ks�Generate 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: 88564 $s�Guido 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.
i����N(tRepr(t
expandtabstfindtjointlowertsplittstriptrfindtrstrip(t
extract_tb(tdequeR
cBseZd�ZRS(cCs
|jd�S(Ni(tpop(tself((s/usr/lib64/python2.7/pydoc.pytpopleft=s(t__name__t
__module__R
(((s/usr/lib64/python2.7/pydoc.pyR
<scCs�g}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/lib64/python2.7/pydoc.pytpathdirsBs
cCsCtj|�ptj|�}|r?tjddt|��pBdS(s-Get the doc string or comments for an object.s^ *
t(tinspecttgetdoctgetcommentstretsubR(tobjecttresult((s/usr/lib64/python2.7/pydoc.pyRNscCs�tt|�d�}t|�dkr5|ddfSt|�dkrst|d�rs|dt|dd�fSdt|d�fS(s>Split a doc string into a synopsis line (if any) and the rest.s
iiRi(RRtlenRR(tdoctlines((s/usr/lib64/python2.7/pydoc.pytsplitdocSs#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/lib64/python2.7/pydoc.pyt	classname\s	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/lib64/python2.7/pydoc.pytisdatacscGs;x4|r6tt||d�|d�}|d}qW|S(s/Do a series of global replacements on a string.iii(RR(ttexttpairs((s/usr/lib64/python2.7/pydoc.pytreplaceis	 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(R3tmaxlentpretpost((s/usr/lib64/python2.7/pydoc.pytcramps
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"(R3((s/usr/lib64/python2.7/pydoc.pytstripidyscCstj|�ptj|�S(N(Rtismethodtismethoddescriptor(tobj((s/usr/lib64/python2.7/pydoc.pyt_is_some_method~scCs�i}x*tj|t�D]\}}d||<qWx$|jD]}|jt|��q=Wx'|j�D]}t||�||<qgW|S(Ni(Rt
getmembersR@t	__bases__tupdatet
allmethodstkeystgetattr(tcltmethodstkeytvaluetbase((s/usr/lib64/python2.7/pydoc.pyRD�scCsPg}g}x7|D]/}||�r5|j|�q|j|�qW||fS(s�Split 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/lib64/python2.7/pydoc.pyt_split_list�s
cCs�d}||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(s__builtins__s__doc__s__file__s__path__s
__module__s__name__s	__slots__s__package__(t
startswithtendswiththasattrtNone(R*tallR?t
_hidden_names((s/usr/lib64/python2.7/pydoc.pytvisiblename�s
cCsd�}t|tj|��S(sCWrap inspect.classify_class_attrs, with fixup for data descriptors.cSs:|\}}}}tj|�r*d}n||||fS(Nsdata descriptor(Rtisdatadescriptor(tdataR*tkindtclsRJ((s/usr/lib64/python2.7/pydoc.pytfixup�s	(tmapRtclassify_class_attrs(R#Rf((s/usr/lib64/python2.7/pydoc.pyRh�s	cCsStjj|�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/lib64/python2.7/pydoc.pyt	ispackage�s

%cCs�|j�}x7|d dks,t|�rE|j�}|sPqqWt|�}|d dkro|d}n|d dkr�|d}|ddkr�|d }nx&t|�s�|j�}|s�Pq�q�Wtt|d�d	�}nd}|S(
Nit#isr"""is"""i����s\i(treadlineRRR^(tfiletlineR$((s/usr/lib64/python2.7/pydoc.pytsource_synopsis�s& 


cCs
tj|�j}|j|d�\}}|dksB||krtj|�}yt|�}Wntk
rudSX|r�d|dkr�y t	j
d|||d�}WndSX|jp�dj�d}t
jd=nt|�}|j�||f||<n|S(	s.Get the one-line summary out of a module file.tbit__temp__iRiN(NN(Rtstattst_mtimetgetR^Rt
getmoduleinfotopentIOErrortimptload_moduleRSt
splitlinesRtmodulesRstclose(tfilenametcachetmtimet
lastupdateR$tinfoRqtmodule((s/usr/lib64/python2.7/pydoc.pytsynopsis�s&
 

tErrorDuringImportcBs eZdZd�Zd�ZRS(sEErrors that occurred while trying to import something to document it.cCs7|\}}}||_||_||_||_dS(N(R�texcRJttb(RR�texc_infoR�RJR�((s/usr/lib64/python2.7/pydoc.pyRi�s
			cCsA|j}t|�tjkr*|j}nd|j||jfS(Nsproblem in %s - %s: %s(R�ttypettypest	ClassTypeRR�RJ(RR�((s/usr/lib64/python2.7/pydoc.pyt__str__�s	(RRRSRiR�(((s/usr/lib64/python2.7/pydoc.pyR��s	cCs�tj�}t|d�}|jt|��|krBtj}n	tj}|j�tj	j
|�}tj	j|�\}}t|d�}y%tj||||d|f�}Wnt
|tj���nX|j�|S(s<Import a Python source file or compiled file given its path.tr(R|t	get_magicRztreadR%tPY_COMPILEDt	PY_SOURCER�RRtbasenametsplitextR}R�RR�(RtmagicRqRdR�R*RmR�((s/usr/lib64/python2.7/pydoc.pyt
importfile�s	
%
icCs�y�|r�|tjkr�|tjkr�gtjD]}|j|d�r1|^q1}x3|g|D]!}tj|||<tj|=qdWq�nt|�}Wn�tj�\}}}	}
|tjkr�ttj|j|
��qJ|tkrt|j	|
��qJ|t
kr1t|	�dddkr1dSt|tj���nXxCt
|d�dD].}yt||�}Wq^tk
r�dSXq^W|S(s�Import 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).Ri����it
safeimportiN(RRtbuiltin_module_namesR[t
__import__R�R�RTtSyntaxErrorR�tImportErrorR	R^RRFtAttributeError(Rt	forceloadR�tmtsubsRIR�R�RJR�R�tpart((s/usr/lib64/python2.7/pydoc.pyR�	s./&
	tDoccBsCeZdd�Zdd�ZeZZZZZ	Z
d�ZRS(cGs�||f|}tj|�r,|j|�Stj|�rH|j|�SyXtj|�rg|j|�Stj|�r�|j|�Stj|�r�|j	|�SWnt
k
r�nXt|t�r�|j
|�S|j|�S(s%Generate documentation for an object.(RtisgetsetdescriptortdocdatatismemberdescriptorR,t	docmoduleR-tdocclassR.t
docroutineR�t
isinstancetpropertytdocpropertytdocother(RR#R*targs((s/usr/lib64/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(treprR�Rt	TypeError(RR#R*R�tmessage((s/usr/lib64/python2.7/pydoc.pytfailNs&cCs#ytj|�}Wntk
r,d}nXtjjdd�}tjjtj	ddtj
dd!�}t|tt��r|j
dks�|j|�r|jtjj|d��r|j
dkr|jd�r�d|jd�|j
f}qtjj||j
d�}nd}|S(s*Return the location of module docs or Nones
(built-in)t
PYTHONDOCSshttp://docs.python.org/librarytlibtpythoniiterrnot
exceptionstgcR|tmarshaltposixtsignalRtthreadt	zipimports
site-packagess	xml.etreestest.pydoc_modshttp://s%s/%st/s.html(
serrnos
exceptionsR�simpsmarshalsposixssignalssysR�s	zipimport(s	xml.etreestest.pydoc_modN(Rt
getabsfileR�RtenvironRxRRRtexec_prefixtversionR�R�RR[RR^(RR#Rqtdocloctbasedir((s/usr/lib64/python2.7/pydoc.pyt	getdoclocVs(

		N(RRR^R�R�R�R�R�R�R�R�R�(((s/usr/lib64/python2.7/pydoc.pyR�;stHTMLReprcBsPeZdZd�Zd�Zd�Zd�Zd�ZeZd�Z	eZ
RS(sBClass for safely making an HTML representation of a Python object.cCs:tj|�d|_|_d|_d|_|_dS(Nii
id(RRitmaxlisttmaxtupletmaxdictt	maxstringtmaxother(R((s/usr/lib64/python2.7/pydoc.pyRius
	cCst|dddddd�S(Nt&s&amp;t<s&lt;t>s&gt;(R5(RR3((s/usr/lib64/python2.7/pydoc.pytescape{scCstj||�S(N(RR�(RR#((s/usr/lib64/python2.7/pydoc.pyR�~scCs�tt|�d�r_dttt|�j�d�}t||�r_t||�||�Sn|jttt	|��|j
��S(NRtrepr_RY(R]R�RRRRFR�R:R<R�R�(RRPtlevelt
methodname((s/usr/lib64/python2.7/pydoc.pytrepr1�s
"cCst||j�}t|�}d|krcdt|dd�krcd|d|j|�|dStjdd|j|��S(Ns\s\\RR�is-((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)s<font color="#c040c0">\1</font>(R:R�R�R5R�R!R"(RRPR�ttestttestrepr((s/usr/lib64/python2.7/pydoc.pytrepr_string�s$!	cCsKy)|jttt|��|j��SWn|jd|jj�SXdS(Ns
<%s instance>(R�R:R<R�R�t	__class__R(RRPR�((s/usr/lib64/python2.7/pydoc.pyt
repr_instance�s)(RRRSRiR�R�R�R�trepr_strR�trepr_unicode(((s/usr/lib64/python2.7/pydoc.pyR�ss						tHTMLDoccBsOeZdZe�ZejZejZd�Zdd�Zddddd�Z
d�Zd�Zd	d
�Z
d�Zd�Zd
�Zd�Zd�Zdiiid�Zdd�Zddd�Zddiid�Zd�Zddiiidd�Zd�Zdddd�Zddd�Zdddd�Zdd�ZRS(s'Formatter class for HTML documentation.cCsd||fS(sFormat an HTML page.s�
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: %s</title>
</head><body bgcolor="#f0f0f8">
%s
</body></html>((Rttitletcontents((s/usr/lib64/python2.7/pydoc.pytpage�sRcCsd|||||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R�tfgcoltbgcoltextras((s/usr/lib64/python2.7/pydoc.pytheading�s	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R�R�R�R�twidthtpreludet
marginaliatgapR$((s/usr/lib64/python2.7/pydoc.pytsection�scGsd|}|j||�S(s$Format a section with a big heading.s<big><strong>%s</strong></big>(R�(RR�R�((s/usr/lib64/python2.7/pydoc.pyt
bigsection�s
c
Cs7|jt|��}t|dddddddd�	S(s!Format literal preformatted text.s

s
 
R�s&nbsp;s
s<br>
(R�RR5(RR3((s/usr/lib64/python2.7/pydoc.pyt	preformat�sicCs�d}t|�|d|}x�t|�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/lib64/python2.7/pydoc.pytmulticolumn�s"cCsd|S(Ns<font color="#909090">%s</font>((RR3((s/usr/lib64/python2.7/pydoc.pytgrey�scGs3x,|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/lib64/python2.7/pydoc.pytnamelink�s
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>(RRRRxRR]RFR+(RR#R)R*R�((s/usr/lib64/python2.7/pydoc.pyt	classlink�s
$cCsd|j|jfS(sMake a link for a module.s<a href="%s.html">%s</a>(R(RR#((s/usr/lib64/python2.7/pydoc.pyt
modulelink�scCso|\}}}}|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RcR*RRntshadowedturlR3((s/usr/lib64/python2.7/pydoc.pyt
modpkglink�s


cCs�|p|j}g}d}tjd�}x�tr�|j||�}	|	sOPn|	j�\}
}|j||||
!��|	j�\}}
}}}}|
r�||�jdd�}|jd||f�n�|rdt	|�}|jd|||�f�n�|r=dt	|�}|jd|||�f�nl|||d!d	krv|j|j
||||��n3|r�|jd
|�n|j|j
||��|}q-W|j|||��t|d�S(s�Mark 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(R�R!tcompileRktsearchtspanRtgroupsR5tintR�R(RR3R�tfuncstclassesRHtresultstheretpatterntmatchtstarttendR_tschemetrfctpeptselfdotR*R�((s/usr/lib64/python2.7/pydoc.pytmarkups8	  "
c
Csd}x�|D]�}t|�td	�kr�|\}}|d}||j||�}|r�||fkr�g}x'|D]}	|j|j|	|��qyW|dt|d�d}n|d}q
t|�tg�kr
|d|j|||�}q
q
Wd|S(
sAProduce HTML for a class tree as given by inspect.getclasstree().Rs"<dt><font face="helvetica, arial">R�s, t)s

</font></dt>s
<dd>
%s</dd>
s
<dl>
%s</dl>
((R�R�RRt
formattree(
RttreeR)tparentR$tentrytctbasestparentsRK((s/usr/lib64/python2.7/pydoc.pyR1s 



c$
Gs�|j}y
|j}Wntk
r/d}nXt|d�}g}xJtt|�d�D]2}|jdt||d d�||f�q\Wt||dd�}	d|	}
yVt	j
|�}|}tjdkr�ddl
}
|
j|�}nd||f}Wntk
r"d	}nXg}t|d
�r�t|j�}|d d.kr}|ddkr}t|dd!�}n|jd|j|��nt|d�r�|j|jt|j���n|r�|
dt|d�}
n|j|�}|dk	rdt�}nd}|j|
ddd||�}t	j|t	j�}gi}}x�t	j|t	j�D]t\}}|dk	s�t	j|�p�||krtt|||�r�|j||f�d|||<||<q�qtqtWx�|D]�\}}x�|jD]�}|j|j}}tj j!|�}||kr	|r	t||�r	t"||�|kr�||kr�|d|||<||<q�q�q	q	Wq�Wgi}}x�t	j|t	j#�D]�\}}|dk	st	j$|�st	j|�|kr�t|||�rY|j||f�d|||<t	j%|�rV||||<qVqYq�q�Wg}xHt	j|t&�D]4\}}t|||�rv|j||f�qvqvW|j't(|�|j)||�}|o�d|}|d|}t|d�rg}x<t*j+|j,�D](\} }}!|j|||!df�qW|j-�|j.||j/�}"||j0ddd|"�}n=|r�|j.||d ��}"||j0d!dd|"�}n|rSt1d"�|�}#|j2t	j3|#d�|�g}"x6|D].\}}|"j|j4|||||��q�W||j0d#dd$t|"��}n|r�g}"x6|D].\}}|"j|j4|||||��qfW||j0d%dd&t|"��}n|r!g}"x-|D]%\}}|"j|j4||��q�W||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>i����s)<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>
RUisPackage Contentss#aa55cccSs|j|d�S(Ni(R�(t	key_valueRL((s/usr/lib64/python2.7/pydoc.pyt<lambda>�stModulescSs|dS(Ni((R((s/usr/lib64/python2.7/pydoc.pyR�stClassess#ee77aat	Functionss#eeaa77tDatas#55aa55s<br>
t
__author__tAuthort__credits__tCreditss$Revision: (7Rt__all__R�R^RR�R%RRRR�Rtplatformt
nturl2pathtpathname2urlR�R]tstrRRR�RR�tlocalsR�RAR,R-t	getmoduleRaRBRRRxRFR.t	isbuiltint
isfunctionR2RRR�tpkgutiltiter_modulesRUtsortR�R�R�RgRtgetclasstreeR�R#R%($RR#R*tmodtignoredR_tpartstlinksR�t
linkednametheadRR�R)tfilelinkR�R�R�R$RRtcdictRIRJRKR)R�RtfdictRcR&tmodpkgstimportertispkgR�t	classlist((s/usr/lib64/python2.7/pydoc.pyR�Ds�	


'


 "	
" !+
"$!"
		!&	&				c	s�j}|p|}�j}g}	|	j�dd(�fd��Y}
|
��ttj���}t|�dkr��j��d�x+|D]#}�d�j|�j	��q�W�d�n��������fd�}
����fd�}��������fd	�}t
�fd
�t���}i�x}|D]u\}}}}d|d|�|<}yt�|�}Wnt
k
r�nXy|�|<WqPtk
r�qPXqPWxn|r9|r�|j��n|d
d�t|�fd��\}}�tjkr.|}q�n.��krCd}nd�j��j	�}|d7}y|jdd��Wn!tk
r�|jd��nX|
d||d��}|
d||d��}|
d||d��}|d||d��}|d||d��}|gks0t�|}q�Wdj|	�}	||krhd ||f}nd!|||f}|r�g}x*|D]"}|j�j|�j	��q�W|d"t|d#�}n�jt���j����}|o�d$|}�j|d%d&|	d'|�S()s.Produce HTML documentation for a class object.tHorizontalRulecs eZd�Z�fd�ZRS(cSs
d|_dS(Ni(tneedone(R((s/usr/lib64/python2.7/pydoc.pyRi�scs#|jr�d�nd|_dS(Ns<hr>
i(RB(R(tpush(s/usr/lib64/python2.7/pydoc.pytmaybe�s	
(RRRiRD((RC(s/usr/lib64/python2.7/pydoc.pyRA�s	is&<dl><dt>Method resolution order:</dt>
s<dd>%s</dd>
s</dl>
c
s�t||�\}}|r��j��|�x�|D]�\}}}}yt�|�}Wn*tk
r���j||���n&X��j||��������d�q6Wn|S(Ns
(RQRDRFt	Exceptiont_docdescriptorR�(tmsgtattrsRMtokR*RdthomeclsRJ(RRthrtmdictR4R#RCR(s/usr/lib64/python2.7/pydoc.pytspill�s


cslt||�\}}|rh�j��|�x6|D]+\}}}}��j||���q6Wn|S(N(RQRDRF(RGRHRMRIR*RdRJRJ(RKR4RCR(s/usr/lib64/python2.7/pydoc.pytspilldescriptors�s

 c
st||�\}}|r�j��|�x�|D]�\}}}}�jt�|�|��}t|d�s�tj|�r�t|dd�}	nd}	|	dkr��d|�nB�jt	|��j
����}	d|	}	�d||	f��d�q6Wn|S(Nt__call__RSs<dl><dt>%s</dl>
s<dd><tt>%s</tt>s<dl><dt>%s%s</dl>
s
(RQRDR�RFR]RRbR^RRR�(
RGRHRMRIR*RdRJRJRKR&(RRRKRLR4R#RCR(s/usr/lib64/python2.7/pydoc.pyt	spilldata�s$


cst|dd��S(NiR?(Ra(Rc(R#(s/usr/lib64/python2.7/pydoc.pyRsRot-ics|d�kS(Ni((tt(t	thisclass(s/usr/lib64/python2.7/pydoc.pyR&ssdefined heresinherited from %ss:<br>
RIcSs|dS(Ni((RR((s/usr/lib64/python2.7/pydoc.pyR4scSst|d|d�S(Ni(tcmp(tt1tt2((s/usr/lib64/python2.7/pydoc.pyR6ss
Methods %scSs|ddkS(Nitmethod((RR((s/usr/lib64/python2.7/pydoc.pyR:ssClass methods %scSs|ddkS(Nisclass method((RR((s/usr/lib64/python2.7/pydoc.pyR<ssStatic methods %scSs|ddkS(Nis
static method((RR((s/usr/lib64/python2.7/pydoc.pyR>ssData descriptors %scSs|ddkS(Nisdata descriptor((RR((s/usr/lib64/python2.7/pydoc.pyR@ssData and other attributes %scSs|ddkS(NiRc((RR((s/usr/lib64/python2.7/pydoc.pyRBsRs*<a name="%s">class <strong>%s</strong></a>s/<strong>%s</strong> = <a name="%s">class %s</a>s(%s)s, s<tt>%s<br>&nbsp;</tt>s#000000s#ffc8d8i((RRBRR
RtgetmroR%RDR�RtfilterRhRFRER�R
RQt__builtin__R#R2tAssertionErrorRRRR�R�(RR#R*R4RRR5trealnameRR�RAtmroRKRMRNRPRHRIRdRJRJtanchort	inheritedttagR�RR&((	RRRKRLR4R#RCRRSs/usr/lib64/python2.7/pydoc.pyR��s�				



$	$

		









 $cCs|jd|j|��S(s)Format an argument default value as text.t=(R�R�(RR#((s/usr/lib64/python2.7/pydoc.pytformatvalueXscCsG|j}|p|}|r$|jp'dd|}	d}
d}tj|�r�|j}|r�||k	r�d|j||�}
q�nD|jdk	r�d|j|jj|�}
nd|j||�}
|j}n||kr�d|	|f}
ne|r?||j	kr?|j	||kr?d|jd||f}d	}n|}d
|	||f}
tj
|�r�tj|�\}}}}tj||||d|j
�}|dkr�d
|}
|d	d!}q�nd}|
||
o�|jd|
�}|rd|S|jt|�|j|||�}|o2d|}d||fSdS(s;Produce HTML documentation for a function or method object.RRQis 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> = %sRbs<lambda>s$<strong>%s</strong> <em>lambda</em> i����s(...)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_classR�tim_selfR^R�tim_funct__dict__R/t
getargspect
formatargspecRbR�RRR�(RR#R*R4RRRHRGR\R^tnotetskipdocstimclassR�treallinkR�tvarargstvarkwtdefaultstargspectdeclR&((s/usr/lib64/python2.7/pydoc.pyR�\sR				
cCsxg}|j}|r&|d|�n|jdk	ra|jt|�|j�}|d|�n|d�dj|�S(Ns!<dl><dt><strong>%s</strong></dt>
s<dd><tt>%s</tt></dd>
s</dl>
R(RRSR^RRR�R(RR*RJR4RRCR&((s/usr/lib64/python2.7/pydoc.pyRF�s	
cCs|j|||�S(s*Produce html documentation for a property.(RF(RR#R*R4RG((s/usr/lib64/python2.7/pydoc.pyR��scGs'|rd|pd}||j|�S(s-Produce HTML documentation for a data object.s<strong>%s</strong> = R(R�(RR#R*R4R5tlhs((s/usr/lib64/python2.7/pydoc.pyR��scCs|j|||�S(s1Produce html documentation for a data descriptor.(RF(RR#R*R4RG((s/usr/lib64/python2.7/pydoc.pyR��scCs�g}|dkri}nxLtj|g�D]8\}}}|j|d|||kf�d||<q.W|j�|j||j�}|j|dd|�S(s2Generate an HTML index for a directory of modules.Ris#ffffffs#ee77aaN(R^R0R1RR2R�R�R�(RRR�R=R>R*R?R�((s/usr/lib64/python2.7/pydoc.pytindex�s	"
N(RRRSR�t_repr_instanceR�R�R�R�R^R�R�R�R�R�R�R�R�R�RRR�R�RbR�RFR�R�R�Rs(((s/usr/lib64/python2.7/pydoc.pyR��s8												&|�	5	
tTextReprcBs8eZdZd�Zd�Zd�ZeZd�ZRS(sAClass for safely making a text representation of a Python object.cCs:tj|�d|_|_d|_d|_|_dS(Nii
id(RRiR�R�R�R�R�(R((s/usr/lib64/python2.7/pydoc.pyRi�s
	cCs{tt|�d�r_dttt|�j�d�}t||�r_t||�||�Snttt|��|j	�S(NRR�RY(
R]R�RRRRFR:R<R�R�(RRPR�R�((s/usr/lib64/python2.7/pydoc.pyR��s
"cCs^t||j�}t|�}d|krZdt|dd�krZd|d||dS|S(Ns\s\\RR�i(R:R�R�R5(RRPR�R�R�((s/usr/lib64/python2.7/pydoc.pyR��s
$cCs9y ttt|��|j�SWnd|jjSXdS(Ns
<%s instance>(R:R<R�R�R�R(RRPR�((s/usr/lib64/python2.7/pydoc.pyR��s (RRRSRiR�R�R�R�(((s/usr/lib64/python2.7/pydoc.pyRu�s				tTextDoccBs�eZdZe�ZejZd�Zdd�Zd�Zddd�Z
ddd�Zddd�Zd	�Z
dddd
�Zd�Zdddd�Zdddd
�Zdddddd�ZRS(s'Formatter class for text documentation.cCsttd�|�d�S(s(Format a string in bold by overstriking.cSs|d|S(Ns((tch((s/usr/lib64/python2.7/pydoc.pyR�sR(RRg(RR3((s/usr/lib64/python2.7/pydoc.pytbold�ss    cCsX|s
dSt|d�}t|d�|�}|rKt|d�|d<nt|d�S(s6Indent text by prepending a given prefix to each line.Rs
cSs||S(N((Rrtprefix((s/usr/lib64/python2.7/pydoc.pyR�si����(RRgRR(RR3RyR'((s/usr/lib64/python2.7/pydoc.pytindent�scCs(|j|�dt|j|��dS(s&Format a section with a given heading.s
s

(RxRRz(RR�R�((s/usr/lib64/python2.7/pydoc.pyR��sRc
Cs�d}x�|D]�}t|�td�kr�|\}}||t||�}|r�||fkr�t|d�|�}	|dt|	d�}n|d}q
t|�tg�kr
||j||||d�}q
q
W|S(sBRender in text a class tree as returned by inspect.getclasstree().RcSs
t||�S(N(R+(RR�((s/usr/lib64/python2.7/pydoc.pyR�ss(%s)s, s
s    ((R�R+RgRR(
RRR)RRyR$RRRR((s/usr/lib64/python2.7/pydoc.pyR�s

	c	Cs�|j}tt|��\}}|jd||o:d|�}y
|j}Wntk
rgd }nXytj|�}Wnt	k
r�d}nX||jd|�}|j
|�}	|	d k	r�||jd|	�}n|r�||jd|�}ng}
xutj|tj�D]^\}}|d k	sMtj
|�pD||krt|||�rx|
j||f�qxqqWg}
x~tj|tj�D]g\}}|d k	s�tj|�s�tj
|�|kr�t|||�r�|
j||f�q�q�q�Wg}xHtj|t�D]4\}}t|||�r|j||f�qqWg}t�}t|d�r�xWtj|j�D]C\}}}|j|�|r�|j|d�q�|j|�q�W|j�||jd	t|d
��}ng}xUtj|tj�D]>\}}|jj|d�r||kr|j|�qqW|r�|j�||jdt|d
��}n|
rtd
�|
�}|jtj|d�|�g}x0|
D](\}}|j|j |||��q�W||jdt|d
��}n|
rwg}x0|
D](\}}|j|j |||��q)W||jdt|d
��}n|r�g}x6|D].\}}|j|j!|||dd��q�W||jdt|d
��}nt|d�rKt"|j#�}|d d!kr2|ddkr2t$|dd!�}n||jd|�}nt|d�r|||jdt"|j%��}nt|d�r�||jdt"|j&��}nt|d�r�||jdt"|j'��}n|S("s5Produce text documentation for a given module object.tNAMEs - s
(built-in)tFILEsMODULE DOCStDESCRIPTIONRUs
 (package)sPACKAGE CONTENTSs
Rt
SUBMODULEScSs|dS(Ni((R((s/usr/lib64/python2.7/pydoc.pyRHsitCLASSESt	FUNCTIONSR7iFtDATARiRs
Revision: i����tVERSIONRtDATER#tAUTHORR%tCREDITSNs$Revision: ((RR(RR�R'R�R^RR�R�R�RAR-R-RaRR.R.R2tsetR]R0R1RUtaddR2RR,R[RgRR3R�R�R+RRRR#R%(RR#R*R4tsynoptdescR$R_RqR�RRIRJRRcR=t
modpkgs_namesR>R)R?t
submodulesR@R�R�((s/usr/lib64/python2.7/pydoc.pyR�s�	 




""$	"

	""
	 " "&" """cs&�j}|p|}�j}�jd�}||krOd�j|�}n�j|�d|}|r�t||�}	|dt|	d�}nt��}
|
r�|
dgp�g}|j�tt	j
���}t|�dkr&�d�x"|D]}
�d	||
��q�W�d
�ndd �fd��Y}|�������fd
�}����fd�}�����fd�}t�fd�t
���}x0|r�|r�|j��n|dd�t|�fd��\}}�tjkr|}q�n+��kr.d}ndt��j�}|j�|d||d��}|d||d��}|d||d��}|d||d��}|d||d��}|gks�t�|}q�Wdj|�}|s|dS|d�jt|�d�dS(!s4Produce text documentation for a given class object.cSs
t||�S(N(R+(RR�((s/usr/lib64/python2.7/pydoc.pytmakenamenssclass s	 = class s(%s)s, s
isMethod resolution order:s    RRAcs eZd�Z�fd�ZRS(cSs
d|_dS(Ni(RB(R((s/usr/lib64/python2.7/pydoc.pyRi�scs'|jr�dd�nd|_dS(NRQiFi(RB(R(RC(s/usr/lib64/python2.7/pydoc.pyRD�s	(RRRiRD((RC(s/usr/lib64/python2.7/pydoc.pyRA�s	cs�t||�\}}|r��j��|�xy|D]n\}}}}yt�|�}Wn*tk
r���j||���q6X��j||����q6Wn|S(N(RQRDRFRERFR�(RGRHRMRIR*RdRJRJ(RKR4R#RCR(s/usr/lib64/python2.7/pydoc.pyRM�s


cslt||�\}}|rh�j��|�x6|D]+\}}}}��j||���q6Wn|S(N(RQRDRF(RGRHRMRIR*RdRJRJ(RKR4RCR(s/usr/lib64/python2.7/pydoc.pyRN�s

 c	s�t||�\}}|r��j��|�x�|D]w\}}}}t|d�sftj|�rut|�}nd}��jt�|�|�ddd|�d�q6Wn|S(NROR7iFR&s
(	RQRDR]RRbRR^R�RF(	RGRHRMRIR*RdRJRJR&(RKR4R#RCR(s/usr/lib64/python2.7/pydoc.pyRP�s

$cst|dd��S(NiR?(Ra(Rc(R#(s/usr/lib64/python2.7/pydoc.pyR�sics|d�kS(Ni((RR(RS(s/usr/lib64/python2.7/pydoc.pyR�ssdefined heresinherited from %ssMethods %s:
cSs|ddkS(NiRW((RR((s/usr/lib64/python2.7/pydoc.pyR�ssClass methods %s:
cSs|ddkS(Nisclass method((RR((s/usr/lib64/python2.7/pydoc.pyR�ssStatic methods %s:
cSs|ddkS(Nis
static method((RR((s/usr/lib64/python2.7/pydoc.pyR�ssData descriptors %s:
cSs|ddkS(Nisdata descriptor((RR((s/usr/lib64/python2.7/pydoc.pyR�ssData and other attributes %s:
cSs|ddkS(NiRc((RR((s/usr/lib64/python2.7/pydoc.pyR�ss |  ((RRBRRxRgRRRR
RRXR%RYRhR
RQRZR#R+R2R[RzR(RR#R*R4R5R\RR�R�RR&R�R]RKRARMRNRPRHR_R`((RKR4R#RCRRSs/usr/lib64/python2.7/pydoc.pyR�hsn			


					







cCsd|j|�S(s)Format an argument default value as text.Ra(R�(RR#((s/usr/lib64/python2.7/pydoc.pyRb�sc
Cs�|j}|p|}d}d}tj|�r�|j}|rd||k	r�dt||�}q�n>|jdk	r�dt|jj|�}ndt||�}|j}n||kr�|j	|�}	nH|r�||j
kr�|j
||kr�d}n|j	|�d|}	tj|�r�tj|�\}
}}}
tj
|
|||
d|j�}|d	kr�|j	|�d
}	|dd!}q�nd}|	||}|r�|d
St|�p�d}|d
|o�t|j|��d
SdS(s;Produce text documentation for a function or method object.Ris from s method of %s instances unbound %s methodis = Rbs<lambda>s lambda i����s(...)s
N(RRR=RcR+RdR^R�ReRxRfR/RgRhRbRRRz(RR#R*R4RGR\RiRjRkR�R�RmRnRoRpRqR&((s/usr/lib64/python2.7/pydoc.pyR��sB			cCszg}|j}|r5||j|��|d�nt|�pDd}|rm||j|��|d�ndj|�S(Ns
R(RRxRRzR(RR*RJR4RRCR&((s/usr/lib64/python2.7/pydoc.pyRFs	

cCs|j|||�S(s*Produce text documentation for a property.(RF(RR#R*R4RG((s/usr/lib64/python2.7/pydoc.pyR�scCs|j|||�S(s1Produce text documentation for a data descriptor.(RF(RR#R*R4RG((s/usr/lib64/python2.7/pydoc.pyR� sc
	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(R�R%RxR^RzR+(
RR#R*R4RR7R&R�Rrtchop((s/usr/lib64/python2.7/pydoc.pyR�$s# N(RRRSRuRtR�RxRzR�R^RR�R�RbR�RFR�R�R�(((s/usr/lib64/python2.7/pydoc.pyRv�s				dx	+	
cCst�at|�dS(sCThe first time this is called, determine what kind of pager to use.N(tgetpagertpager(R3((s/usr/lib64/python2.7/pydoc.pyR�2s	cCstttj�tjk	rtStjj�s<tjj�r@tSdtj	kr�tj
dkred�Stj	jd�dkr�d�Sd�Sntj	jd�dkr�tStj
dks�tj
jd	�r�d
�St
td�r�tjd�d
kr�d�Sddl}|j�\}}tj|�z7t
td�rZtjd|�d
krZd�StSWdtj|�XdS(s2Decide what method to use for paging through text.tPAGERRcSstt|�tjd�S(NR�(t
tempfilepagertplainRR�(R3((s/usr/lib64/python2.7/pydoc.pyR@stTERMtdumbtemacscSstt|�tjd�S(NR�(t	pipepagerR�RR�(R3((s/usr/lib64/python2.7/pydoc.pyRBscSst|tjd�S(NR�(R�RR�(R3((s/usr/lib64/python2.7/pydoc.pyRDstos2cSstt|�d�S(Nsmore <(R�R�(R3((s/usr/lib64/python2.7/pydoc.pyRHstsystems(less) 2>/dev/nullicSs
t|d�S(Ntless(R�(R3((s/usr/lib64/python2.7/pydoc.pyRJsi����Ns	more "%s"cSs
t|d�S(Ntmore(R�(R3((s/usr/lib64/python2.7/pydoc.pyRQs(R�R�(R�R�(R�RtstdoutR�tFileTypet
plainpagertstdintisattyRR�R(RxR[R]R�ttempfiletmkstempR�tttypagertunlink(R�tfdR�((s/usr/lib64/python2.7/pydoc.pyR�8s0 
!$
(cCstjdd|�S(s%Remove boldface formatting from text.s.R(R!R"(R3((s/usr/lib64/python2.7/pydoc.pyR�WscCsEtj|d�}y|j|�|j�Wntk
r@nXdS(s3Page through text by feeding it to another program.twN(RtpopentwriteR�R{(R3tcmdtpipe((s/usr/lib64/python2.7/pydoc.pyR�[s

cCspddl}|j�}t|d�}|j|�|j�ztj|d|d�Wdtj|�XdS(s<Page through text by invoking a program on a temporary file.i����NR�s "R�(R�tmktempRzR�R�RR�R�(R3R�R�R�Rq((s/usr/lib64/python2.7/pydoc.pyR�ds

c	Cs�tt|�d�}yDddl}tjj�}|j|�}|j|�d�}Wn&tt	fk
r�d}d�}nXz9tjj
dd�d}}tjjt|| d�d�x�||r�tjjd	�tjj�|�}|dkrtjjd�Pn8|dkrNtjjd||d�|d}q�n|dkr�|||}|dkr�d}q�ntjjdt||||!d�d�||}q�WWd|r�|j||j|�nXdS(s%Page through text on a text terminal.s
i����NcSstjjd�S(Ni(RR�R�(((s/usr/lib64/python2.7/pydoc.pyRxscSstjj�d d S(Ni����i(RR�Rp(((s/usr/lib64/python2.7/pydoc.pyR{stLINESiis
-- more --tqtQs
          
s
RttBsi(R�R�(s
s
(RtR�s(RR�tttyRR�tfilenot	tcgetattrt	setcbreakR�R�R^RR�RxR�R�Rtflusht	tcsetattrt	TCSAFLUSH(	R3R'R�R�toldtgetcharR�tincR((s/usr/lib64/python2.7/pydoc.pyR�ps@


!

	
,cCstjjt|��dS(s>Simply print unformatted text.  This is the ultimate fallback.N(RR�R�R�(R3((s/usr/lib64/python2.7/pydoc.pyR��scCsJtj|�rT|jtjkr,d|jSt|d�rFd|jSd|jSntj|�rnd|jStj|�r�d|jj	|jj|jfStj
|�r�d|jj	|jj|jfStj|�r�d|jStj|�rd	|jStj
|�rd
|jSt|�tjkr=d|jjSt|�jS(s/Produce a short description of the given thing.sbuilt-in module RUspackage smodule sbuilt-in function sgetset descriptor %s.%s.%ssmember descriptor %s.%s.%ssclass s	function smethod sinstance of (RR,RRR�R]R.R�t__objclass__RR�R-R/R=R�R�tInstanceTypeR�(tthing((s/usr/lib64/python2.7/pydoc.pytdescribe�s2cCs�gt|d�D]}|r|^q}d\}}xQ|t|�kr�tt||d d�|�}|r�||d}}q7Pq7W|r�|}nt}x:||D].}yt||�}Wq�tk
r�dSXq�W|S(s@Locate an object by name or dotted path, importing as necessary.RiiN(Ni(RR^R%R�RRZRFR�(RR�R�R6R�tnt
nextmoduleR#((s/usr/lib64/python2.7/pydoc.pytlocate�s ( 	
	t_OldStyleClasscBseZRS((RR(((s/usr/lib64/python2.7/pydoc.pyR��scCsst|t�r>t||�}|s4td|�n||fSt|dd�}|t|t�rh|ndfSdS(sDGiven an object or a path to an object, get the object and its name.s$no Python documentation found for %rRN(R�R+R�R�RFR^(R�R�R#R*((s/usr/lib64/python2.7/pydoc.pytresolve�s
s Python Library Documentation: %scCs3t||�\}}t|�}tj|�}|r`d|kr`|d||jd� 7}n&|r�||k	r�|d|j7}nt|�tkr�|j}nstj	|�p�tj
|�p�tj|�p�tj|�p�tj
|�p�t|t�st|�}|d7}n||dtj||�S(sBRender text documentation, given an object or a path to an object.Rs in s in module s objects

(R�R�RR-RRR�t_OLD_INSTANCE_TYPER�R,R-R.R�R�R�R�R3R�(R�R�R�R#R*R�R�((s/usr/lib64/python2.7/pydoc.pyt
render_doc�s$
cCs?ytt|||��Wnttfk
r:}|GHnXdS(sCDisplay text documentation, given an object or a path to an object.N(R�R�R�R�(R�R�R�RJ((s/usr/lib64/python2.7/pydoc.pyR&�scCs�ytt||�\}}tjt|�tj||��}t|dd�}|j|�|j�dG|dGHWntt	fk
r�}|GHnXdS(s<Write HTML documentation to a file in the current directory.s.htmlR�twroteN(
R�thtmlR�R�R�RzR�R�R�R�(R�R�R#R*R�RqRJ((s/usr/lib64/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^R0t
walk_packagesR�(RtpkgpathtdoneR>R)R?((s/usr/lib64/python2.7/pydoc.pyt	writedocs	s
	%tHelpercBs�eZidd6dd6d(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.6Zid>d76d?dL6d@d 6dAdM6dBdZ6dCd[6dDd^6Zid_d>6d`d;6dadb6dcdd6dedf6dgdh6didj6d7dk6dldm6dndo6dpdq6drds6drdt6dudv6dudw6Zxdej�D]V\ZZxGeD]?Zej	ee�Z
ee
kr�e
dxeZ
ne
ee<q�Wq�WiNdEd{6dFd76dGd�6dHd�6dId�6dJd�6dKd�6dLd�6dMd^6dNd�6d�d�6dOd#6dPd�6dQd�6dRd�6d{d�6d{d�6dSd�6dTde6dUd�6dVd�6dWd�6dXd6dd�6dYd�6d�dL6d�d�6dZd�6d[d�6d\d6d]d�6d^d�6d_d�6d`d6dad�6dbd�6dcd�6ddd6ded�6dd�6dd�6dfd)6dgd�6dhd�6did�6djd�6dkdl6dld�6d�d�6dmd�6dnd�6dod�6dpd�6dqd�6drdp6dsd�6dtd�6dud�6dvd�6dwd`6dxdM6dyd�6dzd�6d{d[6d|d 6d}d6dd6d~d6ddZ6d
d6d'd6d*d	6dd
6dd6d�d6d�d6d�d6d�d6Z
d�d�d�Ze
d��Ze
d��Zd�Ze�Zed�Zd�Zd�Zd�Zd�Zdd d!�Zd"�Zd#�Zd$�Zdd%�Zd&�Zdd'�ZRS(�tBOOLEANtandtwithtastassertRtbreaks	while fortclasssCLASSES SPECIALMETHODStcontinuetfunctiontdeftdeltBASICMETHODStifteliftelsettrytexcepttexectfinallytforsbreak continue whiletimporttfromtglobalt
NAMESPACESt
TRUTHVALUEtMODULEStintSEQUENCEMETHODS2t
COMPARISONtistlambdaR�tnottortpasstprinttraiset
EXCEPTIONStreturntwhilesbreak continue if TRUTHVALUEs CONTEXTMANAGERS EXCEPTIONS yieldtyieldt's'''sr'su's"""R�sr"su"tSTRINGSt+RQt*s**R�s//t%s<<s>>R�t|t^t~R�R�s<=s>=s==s!=s<>t	OPERATORStUNARYs+=s-=s*=s/=s%=s&=s|=s^=s<<=s>>=s**=s//=tAUGMENTEDASSIGNMENTtBITWISEtjtJtCOMPLEXsOPERATORS FORMATTINGtPOWERsTUPLES LISTS FUNCTIONSt,s ATTRIBUTES FLOAT MODULES OBJECTSRtELLIPSISs...sSLICINGS DICTIONARYLITERALSt:s	def classt@s\tPRIVATENAMESRYsPRIVATENAMES SPECIALMETHODSRXt
BACKQUOTESt`sTUPLES FUNCTIONS CALLSR�RsLISTS SUBSCRIPTS SLICINGSt[t]R�R�sRSTRINGS 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-summarys�lambda 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-featurestDYNAMICFEATUREStSCOPINGtFRAMESR�stry except finally raisescoercion-rulestCONVERSIONSt	COERCIONStconversionstidentifiersskeywords SPECIALIDENTIFIERStIDENTIFIERSs
id-classestSPECIALIDENTIFIERSsatom-identifierss
atom-literalssHSTRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALStLITERALStTUPLESt	exprlistssTUPLES LITERALSt
TUPLELITERALSstypesseq-mutabletLISTLITERALStLISTStlistssLISTS LITERALSttypesmappingtDICTIONARYLITERALSR�sDICTIONARIES 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/lib64/python2.7/pydoc.pyRi�s	cCs|jptjS(N(RlRR�(R((s/usr/lib64/python2.7/pydoc.pyR�scCs|jptjS(N(RmRR�(R((s/usr/lib64/python2.7/pydoc.pyR�scCs)tj�dddkr%|�dSdS(Niit?Rs<pydoc.Helper instance>(Rtstack(R((s/usr/lib64/python2.7/pydoc.pyt__repr__�scCsG||jk	r|j|�n$|j�|j�|jjd�dS(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_GoInteractivethelptintrotinteractRoR�(Rtrequest((s/usr/lib64/python2.7/pydoc.pyRO�s

	cCs�|jjd�x�tr�y|jd�}|s5PnWnttfk
rPPnXtt|dddd��}t|�dkr�Pn|j	|�qWdS(	Ns
shelp> R�RR�R�tquit(R�squit(
RoR�RktgetlinetKeyboardInterrupttEOFErrorRR5RRt(RRw((s/usr/lib64/python2.7/pydoc.pyRv�s	cCsJ|jtjkrt|�S|jj|�|jj�|jj�SdS(s.Read one line, using raw_input when available.N(RnRR�t	raw_inputRoR�R�Rp(Rtprompt((s/usr/lib64/python2.7/pydoc.pyRy�s


cCs{t|�td�krA|j�}|dkr=|j�qg|dkrV|j�qg|dkro|j�qg|dkr�|j�qg|dkr�|j�qg|d dkr�|jt|�d	�qg||jkr�|j	|�qg||j
kr	|j|�qg||jkr(|j|�qg|rgt
|d
�qgn&t|t�rZ|�n
t
|d
�|jjd�dS(NRRttkeywordstsymbolsttopicsRismodules isHelp on %s:s
(R�RRutlistkeywordstlistsymbolst
listtopicstlistmodulesRRt
showsymbolR~t	showtopicR�R&R�R�RoR�(RRw((s/usr/lib64/python2.7/pydoc.pyRt�s4






cCs,|jjdttjd gd��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/%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(RoR�ttupleRR�(R((s/usr/lib64/python2.7/pydoc.pyRus	iiPc		Cs�|}|j�||}t|�|d|}x�t|�D]�}x�t|�D]z}|||}|t|�krS|jj||�||dkr�|jjdd|dt||��q�qSqSW|jjd�q@WdS(NiR�s
(R2R%R�RoR�(	RtitemstcolumnsR�tcolwR�trowR�R�((s/usr/lib64/python2.7/pydoc.pyR�s

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

(RoR�R�R~RE(R((s/usr/lib64/python2.7/pydoc.pyR�"s	cCs*|jjd�|j|jj��dS(Nsx
Here is a list of the punctuation symbols which Python assigns special meaning
to. Enter any symbol to get more help.

(RoR�R�RRE(R((s/usr/lib64/python2.7/pydoc.pyR�)s	cCs*|jjd�|j|jj��dS(NsN
Here is a list of available topics.  Enter any topic name to get more help.

(RoR�R�R�RE(R((s/usr/lib64/python2.7/pydoc.pyR�1s	cCs�yddl}Wn"tk
r4|jjd�dSX|jj||jj|��}|sz|jjdt|��dSt|�td�kr�|j	||�S|\}}y|jj|}Wn,t
k
r�|jjdt|��dSXtt|�d�|r"|pdd|}n|r�ddl
}ddl}	|j
�}
|	j|
�jdtt|�d�d�|jjd	|
j��ndS(
Ni����st
Sorry, topic and keyword documentation is not available because the
module "pydoc_data.topics" could not be found.
sno documentation found for %s
Rs
R�sRelated help topics: s, s
%s
(tpydoc_data.topicsR�RoR�R�RxR~R�R�R�tKeyErrorR�RtStringIOt	formattert
DumbWritertsend_flowing_dataRRtgetvalue(Rttopict
more_xrefst
pydoc_datattargettlabeltxrefsR&R�R�tbuffer((s/usr/lib64/python2.7/pydoc.pyR�8s6
	!
cCs9|j|}|jd�\}}}|j||�dS(NR�(Rt	partitionR�(RtsymbolR�R�RYR�((s/usr/lib64/python2.7/pydoc.pyR�Xs
cs�|r#|jjd�t|�nj|jjd�i}|d���fd�}t�j�d|�|j|j��|jjd�dS(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|d�dkrId||<ndS(Ni����s	.__init__s
 (package)Rii(R(RR)R�R((s/usr/lib64/python2.7/pydoc.pytcallbackjscs�d|d�dS(N(R^(R)(R�(s/usr/lib64/python2.7/pydoc.pytonerrorosR�s�
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
(RoR�tapropost
ModuleScannertrunR�RE(RRIRR�((R�s/usr/lib64/python2.7/pydoc.pyR�]s	
		(sassertR(R�s	while for(R�sCLASSES SPECIALMETHODS(R�s	while for(R�R(R�R�(R�s	while for(sexecR(R�sbreak continue while(R�R�(R�R�(R�R�(sinR�(slambdas	FUNCTIONS(R�R(sprintR(R�R�(R�s	FUNCTIONS(R�R�(R�sbreak continue if TRUTHVALUE(R�s CONTEXTMANAGERS EXCEPTIONS yield(R�R(R�s'''sr'su's"""R�sr"su"(R�RQR�s**R�s//R�s<<s>>R�R�R�R�R�R�s<=s>=s==s!=s<>(R�R�s<=s>=s==s!=s<>(RQR�(s+=s-=s*=s/=s%=s&=s|=s^=s<<=s>>=s**=s//=(s<<s>>R�R�R�R�(RR(stypessRSTRINGS 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(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-summarys�lambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES BACKQUOTES(R.R
(R0stBASICMETHODS ATTRIBUTEMETHODS CALLABLEMETHODS SEQUENCEMETHODS1 MAPPINGMETHODS SEQUENCEMETHODS2 NUMBERMETHODS CLASSES(R2s 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(R8s%NAMESPACES DYNAMICFEATURES EXCEPTIONS(R:s*global ASSIGNMENT DELETION DYNAMICFEATURES(sdynamic-featuresR(s
exceptionsstry except finally raise(scoercion-rulesR>(R@R?(RAskeywords SPECIALIDENTIFIERS(s
id-classesR(satom-identifiersR(s
atom-literalssHSTRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS(RFsTUPLES LITERALS(stypesseq-mutableRH(RJsLISTS LITERALS(RKRL(sdictsDICTIONARIES LITERALS(sstring-conversionssrepr str STRINGS LITERALS(sattribute-referencess(getattr hasattr setattr ATTRIBUTEMETHODS(RNR5(RPR�(RQR,(RSR,(RTR,(RUR,(RWR,(RYR,(RZsEXPRESSIONS BASICMETHODS(R[sEXPRESSIONS TRUTHVALUE(R]R�(R_R7(Resfor while break continue(Rgs if while and or not BASICMETHODS(RhRi(scontext-managersR�N(RRR~t_symbols_inverseRt	iteritemsR�tsymbols_R�RxR�R^RiR�RnRoRrR#RsRORvRyRtRuR�R�R�R�R�R�R�(((s/usr/lib64/python2.7/pydoc.pyR�s@





		
								 	tScannercBs eZdZd�Zd�ZRS(sA generic tree iterator.cCs)||_g|_||_||_dS(N(trootststatetchildrentdescendp(RR�R�R�((s/usr/lib64/python2.7/pydoc.pyRi|s
		cCs�|jsF|jsdS|jjd�}||j|�fg|_n|jd\}}|sv|jj�|j�S|jd�}|j|�r�|jj||j|�f�n|S(Nii����(R�R�R^RR�tnextR�R(RtroottnodeR�tchild((s/usr/lib64/python2.7/pydoc.pyR��s		

"(RRRSRiR�(((s/usr/lib64/python2.7/pydoc.pyR�zs	R�cBs eZdZdddd�ZRS(s7An interruptible scanner that searches module synopses.cCs|rt|�}nt|_i}x�tjD]�}|dkr.d||<|dkri|d|d�q�tt|�jp~dd�d}t	t|d|�|�dkr�|d||�q�q.q.Wx7t
jd|�D]#\}}}	|jr�Pn|dkr|d|d�q�|j|�}
t
|
d�r�d	dl}t|j|
j|���pad}t
|
d
�r�|
j|�}q�d}n:|
j|�}
|
jp�dj�d}t|
dd�}t	t|d|�|�dkr�||||�q�q�W|r|�ndS(Nt__main__iRs
is - R�t
get_sourcei����tget_filenameRT(RRlRxRR�R^RR�RSRR0R�tfind_moduleR]R�RsR�R�R}R~RF(RR�RIt	completerR�tseenR)R�R>R?tloaderR�RR�((s/usr/lib64/python2.7/pydoc.pyR��sB	
"#"		#N(RRRSR^R�(((s/usr/lib64/python2.7/pydoc.pyR��sc	CsOd�}d�}tj��+tjd�t�j||d|�WdQXdS(sAPrint all the one-line module summaries that contain a substring.cSs8|ddkr!|d d}n|G|o2d|GHdS(Ni����s	.__init__s
 (package)s- ((RR)R�((s/usr/lib64/python2.7/pydoc.pyR��scSsdS(N((R)((s/usr/lib64/python2.7/pydoc.pyR��stignoreR�N(twarningstcatch_warningstfilterwarningsR�R�(RIR�R�((s/usr/lib64/python2.7/pydoc.pyR��s
		

c	Cs�ddl}ddl}ddl}d|jfd��Y}d|jfd��Y}d|jfd��Y}|j|_||_||_z8y|||�j	�Wnt
|jfk
r�nXWd|r�|�nXdS(Ni����tMessagecBseZdd�ZRS(icSsf|j}|jdjdj|||�|jd�|_|jd�|_|j�|j�dS(Niscontent-transfer-encodingscontent-type(R�RBRit	getheadertencodingheadert
typeheadert	parsetypet
parseplist(RtfptseekableR�((s/usr/lib64/python2.7/pydoc.pyRi�s	!
(RRRi(((s/usr/lib64/python2.7/pydoc.pyR��st
DocHandlercBs#eZd�Zd�Zd�ZRS(cSs_yG|jd�|jdd�|j�|jjtj||��Wntk
rZnXdS(Ni�sContent-Types	text/html(t
send_responsetsend_headertend_headerstwfileR�R�R�R{(RR�R�((s/usr/lib64/python2.7/pydoc.pyt
send_document�s

 
cSs�|j}|ddkr&|d }n|d dkrC|d}n|r�|dkr�yt|dd�}Wn3tk
r�}|j|tjt|���dSX|r�|jt|�tj||��q�|j|dt	|��n�tj
dd	d
�}d�}td�tj
�}tj||�}d
tjdd	d|�g}i}	x*tjD]}
|jtj|
|	��q]W|t|�d}|jd|�dS(Ni����s.htmliR�RR�s$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/lib64/python2.7/pydoc.pyt	bltinlink�scSs
|dkS(NR�((RP((s/usr/lib64/python2.7/pydoc.pyR�ss<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(RR�R�R�R�R�R+R�R�R�R�RYRR�R�R�RRsR(RRR?RJR�R�tnamesR�tindicesR�R((s/usr/lib64/python2.7/pydoc.pytdo_GET�s<	

%				
cWsdS(N((RR�((s/usr/lib64/python2.7/pydoc.pytlog_messages(RRR�R�R�(((s/usr/lib64/python2.7/pydoc.pyR��s		#t	DocServercBs#eZd�Zd�Zd�ZRS(cSsQd}||f|_d||f|_||_|jj||j|j�dS(Nt	localhosts
http://%s:%d/(taddressR�R�RKRithandler(RtportR�thost((s/usr/lib64/python2.7/pydoc.pyRis
	cSsiddl}t|_xM|jsd|j|jj�gggd�\}}}|r|j�qqWdS(Ni����i(tselectRlRxtsocketR�thandle_request(RR�trdtwrtex((s/usr/lib64/python2.7/pydoc.pytserve_until_quits	-cSs-|jj|�|jr)|j|�ndS(N(RKtserver_activateR�(R((s/usr/lib64/python2.7/pydoc.pyR�s	(RRRiR�R�(((s/usr/lib64/python2.7/pydoc.pyR�s		(tBaseHTTPServert	mimetoolsR�R�tBaseHTTPRequestHandlert
HTTPServerRKR�tMessageClassR�Rzterror(	R�R�R�R�R�R�R�R�R�((s/usr/lib64/python2.7/pydoc.pytserve�s$	.		cCsoddd��Y}ddl}y8|j�}z||�}|j�Wd|j�XWntk
rjnXdS(sEGraphical interface (starts web server and pops up a control window).tGUIcBs�eZdd�Zd�Zddd�Zdd�Zdd�Zd�Zdd�Z	d�Z
dd	�Zdd
�Zd�Z
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|jjdd�n|jjd�|jjd|j�|jjdddd�|jjdddddd�|j
jdddddd�|jjdddd�|jjdd�|jjdddddd�|jjdddd�|jj�dtjdkr[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-�|jj5j6�ddl7}|j8d't9d(||j:|jf�j;�dS()Ni����R3sStarting server...
 sopen browsertcommandR�tdisabledsquit servings
Search fors<Return>tstoptpadyiRtsidetrighttpydoctWM_DELETE_WINDOWttoptfillRPtlefttexpandit	helveticaii
tfonttheightis
<Button-1>s<Double-Button-1>torienttverticaltyscrollcommandsgo to selectedshide resultss%dx%dR�R�(<twindowR^tservertscannertTkintertFramet
server_frmtLabelt	title_lbltButtonRztopen_btnRxtquit_btnt
search_frmt
search_lbltEntryt
search_enttbindRR�tstop_btnRR(tpackR�tprotocolt	focus_settListboxt
result_lstR�tgotot	Scrollbartyviewt
result_scrtconfigR�t
result_frmtgoto_btnthidethide_btnRCtwinfo_widthtminwidthtwinfo_heightt	minheighttwinfo_reqheighttbigminheighttbigwidtht	bigheighttexpandedtwm_geometryt
wm_minsizettktwilldispatcht	threadingtThreadR�treadyR
(RR�R�R�R�R((s/usr/lib64/python2.7/pydoc.pyRi*sp			!
!
&	 	cSsM||_|jjdd|j�|jjdd�|jjdd�dS(NR3sPython documentation server at
R�tnormal(R�R�R
R�R�R�(RR�((s/usr/lib64/python2.7/pydoc.pyR!os
	cSs�|p|jj}yddl}|j|�Wnatk
r�tjdkrbtjd|�q�tjd|�}|r�tjd|�q�nXdS(Ni����Rs
start "%s"s netscape -remote "openURL(%s)" &snetscape "%s" &(	R�R�t
webbrowserRzR�RR(RR�(RteventR�R#trc((s/usr/lib64/python2.7/pydoc.pyRzvs
cSs)|jrd|j_n|jj�dS(Ni(R�RxR�(RR$((s/usr/lib64/python2.7/pydoc.pyRx�s	cSs|jj�}|jjdd�|jjdd�|jjdd|�|jj�|jjdd�|jjdd	�|j	jdd
�|j
�ddl}|jr�d|j_
nt�|_|jd
|jjd|j||jf�j�dS(NR�R�R�R"R3sSearching for "%s"...R�iRR�i����iR�R�(RRxRRR
R�tforgetRtdeleteRR�RR�RxR�R R�RCR�R
(RR$RIR((s/usr/lib64/python2.7/pydoc.pyR�s

	cSsF|ddkr!|d d}n|jjd|d|p=d�dS(Ni����s	.__init__s
 (package)Rs - s(no description)(Rtinsert(RRR)R�((s/usr/lib64/python2.7/pydoc.pyRC�scSs%|jr!d|j_d|_ndS(Ni(R�RxR^(RR$((s/usr/lib64/python2.7/pydoc.pyR��s	cSs�d|_|jjdd�|jjdd�|jjdddddd	�tjd
krm|jj	�n|jjdd�dS(
NR3s
Search forR�R�R�R�RPR�iRR�R�(
R^R�R�R
RRRR(RR&(R((s/usr/lib64/python2.7/pydoc.pyR��s	cSs|jjdd�dS(NR�R"(RR
(RR$((s/usr/lib64/python2.7/pydoc.pyR��scSsZ|jj�}|rVt|jj|d��d}|jd|jj|d�ndS(NiR�s.html(RtcurselectionRRxRzR�R�(RR$t	selectionR)((s/usr/lib64/python2.7/pydoc.pyR	�s cSs�|js
dS|jj�|jj�|jj�|jj�|_|jj�|_	|jj
d|j|jf�|jj
|j|j�d|_dS(Ns%dx%di(RRR&RRR�RRRRRRRR(R((s/usr/lib64/python2.7/pydoc.pytcollapse�s	


 cSs�|jr
dS|jjdddd�|jjdddd�|jjddddd	d
�|jjd|j|jf�|jj	|j
|j�d
|_dS(NR�tbottomR�RPR�tyR�tbothR�is%dx%d(RRRRRR�RRRRRR(R((s/usr/lib64/python2.7/pydoc.pyR��s	 cSs|j�|j�dS(N(R�R+(RR$((s/usr/lib64/python2.7/pydoc.pyR�s
N(RRRiR!R^RzRxRRCR�R�R�R	R+R�R(((s/usr/lib64/python2.7/pydoc.pyR�)sE						i����N((R�tTktmainlooptdestroyRz(R�R�R�tgui((s/usr/lib64/python2.7/pydoc.pyR2's�
cCs%t|t�o$t|tj�dkS(Ni(R�R+RRtsep(RP((s/usr/lib64/python2.7/pydoc.pytispath�scCs�ddl}ddd��Y}dtjkrtjjtjd�}|tjkritjj|�ntjjdd�ny�|jtjdd	�\}}d}x�|D]�\}}|d
kr�t|�dS|dkr0yt	|�}Wnt
k
r	|�nXd�}	d
�}
t||	|
�dS|dkr�d}q�q�W|sX|�nx�|D]�}t|�r�tjj
|�r�d|GHPny|t|�r�tjj|�r�t|�}n|r�t|�r�tjj|�r�t|�qt|�n
tj|�Wq_tk
r'}|GHq_Xq_WWnT|j|fk
r�tjjtjd�}
d|
tj|
|
|
tjfGHnXdS(s@Command-line interface (looks at sys.argv to decide what to do).i����NtBadUsagecBseZRS((RR(((s/usr/lib64/python2.7/pydoc.pyR5�sRiRisgk:p:ws-ks-pcSsd|jGHdS(Nspydoc server ready at %s(R�(R�((s/usr/lib64/python2.7/pydoc.pyR!�scSs	dGHdS(Nspydoc server stopped((((s/usr/lib64/python2.7/pydoc.pytstopped�ss-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.
((tgetoptRRRtdirnametargvtremoveR(R�Rt
ValueErrorR�R4texistsRjR�RR�R�RtR�R�R�R3(R7R5t	scriptdirtoptsR�twritingtopttvalR�R!R6targRJR�((s/usr/lib64/python2.7/pydoc.pytcli�sX


		
	
	

R�(YRSR#RRR%RR|RR!R�RRZR0R�R�RtstringRRRRRRRRt	tracebackR	tcollectionsR
R�R�RRR(R+R2R5R:R�t
IGNORECASER;R<R@RDRQR^RaRhRnRsR�RER�R�R�R�R�R�RuRvR�R�R�R�R�R�R�R�R�R3R�R�R�R�R�R�R&R�R�R�RtR�R�R�R�R2R4RCR(((s/usr/lib64/python2.7/pydoc.pyt<module> s�
l:
											
					28*�� �Y							&				�i	,	[	�		M

Zerion Mini Shell 1.0