Your IP : 3.129.63.214


Current Path : /usr/lib64/python2.7/idlelib/idle_test/
Upload File :
Current File : //usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyo

�
{fc@s�ddlZddljZej�ZddlZddlZddlZdZde	fd��YZ
e
�ZejZ
dejfd��YZdejfd��YZd	ejfd
��YZedkr�ejdd
de�ndS(i����NttTCcBs�eZdZdZdd�Zde_d�Zde_dd�Zde_d�Zd	e_d
�Z	de	_dd�Z
d
e
_d�Zde_d�Zde_e
d��Zed��ZRS(tdocs(ai=None, *args)cGsdS(RN((tselftaitb((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt__init__Rs(self, ai=None, *args)cCsdS(RN((R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt1Rs(self)cCsdS(RN((RRR((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt2Rs(self, ai, b=None)cGsdS(RN((RRtargs((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt3Rs(self, ai, *args)cGsdS(RN((RR	((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt4Rs
(self, *args)cOsdS(RN((RRRR	tkw((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt5Rs#(self, ai, b=None, *args, **kwargs)cCsdS(RN((tnoR((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytt6Rs
(no, self)cCsdS(RN((Rtci((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt__call__Rs
(self, ci)cCsdS(RN((tclsta((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytcmRcCsdS(RN((R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytsm!RN(t__name__t
__module__t__doc__ttiptNoneRRRR
RR
RRtclassmethodRtstaticmethodR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRs(													tGet_signatureTestcBskeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�ZRS(cs�dtfd��Y}ddd��Y}�fd�}|jdk	r^||d|j�n|tjd�|tjd�d	}|tj|�|gj|�||j|�|tjd
�||�t�dS(NtListcBseZdZRS(s
List() doc(RRR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR3stSBcBseZdZRS(N(RRRR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR5scs�jt|�|�dS(N(tassertEqualt	signature(tobjtout(R(s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytgtest7ss()
s=T.__new__(S, ...) -> a new object with type S, a subtype of Ts>x.__init__(...) initializes x; see help(type(x)) for signatures(L.append(object) -- append object to ends,()
instancemethod(function, instance, class)((	tlistRRt__new__Rtappendttypest
MethodTypetdefault_tip(RRRR$t
append_doc((Rs7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt
test_builtins/s		cCs2tjjdk	r.|jttj�d�ndS(Ns�(width=70, initial_indent='', subsequent_indent='', expand_tabs=True,
    replace_whitespace=True, fix_sentence_endings=False, break_long_words=True,
    drop_whitespace=True, break_on_hyphens=True)(ttextwraptTextWrapperRRR R!(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_signature_wrapHscCsCd�}dd|_|jt|�ddtjdd�dS(NcSsdS(N((((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytfQRRi,s()
is...(RR R!tctt	_MAX_COLS(RR0((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_docline_truncationPs	
cCsk|jtt�d�d�}d}|ddd|_|jt|�d|tjddd	�dS(
NsX()
list() -> new empty list
list(iterable) -> new list initialized from iterable's itemscSsdS(N((((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR0\ssa
b
c
d
i,teR0s()
is...(R R!R%RR1R2(RR0ts((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_multiline_docstringUs	cCs�d�}d|_dd�}d|_d�}d|_d�}d|_dd	�}d
|_|jdk	rudnd}x=|||||tfD]#}|jt|�|j|�q�WdS(
NcSsdS(RN((((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRdRs()cSsdS(RN((RR((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRfRs(a, b=None)cWsdS(RN((RR	((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR
hRs
(a, *args)cWsdS(RN((R	((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRjRs(*args)c_sdS(RN((RRR	tkwds((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR
lRs(a, b=None, *args, **kwargs)s
docR(RRRRR R!(RRRR
RR
Rtfunc((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_functionscs								cCs�tjdk	rdnd}xUtjtjtjtjtjtjtj	fD]#}|j
t|�|j|�qLW|j
ttj
�d|�|j
ttj�d|�dS(Ns
docRs(a)s(b)(RRRRRR
RR
RRR R!RRR(RRtmeth((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_methodsss
7!cCs�tjdk	rdnd}xstjdftjdftjdftjdftdftjdffD]&\}}|j	t
|�||�qgWdS(Ns
docRs()s(*args)s(self)s(ci)s(a)(RRRttcRRRRRR R!(RRR:tmtip((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_bound_methodszs'1cCs�dd	d��Y}d�}d�}|�}|jt|j�d�|jt|j�d�|jt|j�d�|jt|j�d�|jt|�d�|jt|�d�dS(
NtCcBseZd�Zd�ZRS(cWsdS(N((R	((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytm1�Rc[sdS(N((R7((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytm2�R(RRR@RA(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR?�s	c_sdS(N((R	tkwargsRtk((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytf1�Rc_sdS(N((R	RBtargs1tkwargs1RRC((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytf2�Rs(*args)s
(**kwargs)s!(args, kwargs, *args1, **kwargs1)s1(args, kwargs, args1, kwargs1, *args2, **kwargs2)((R R!R@RA(RR?RDRGtc((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_starred_parameter�s			cCs^d�}|t_|jt|�d�|jttj�d�|jttj�d�dS(NcSsdS(N((R5((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytnd�Rs(s)s()(RRJR R!R<(RRJ((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_no_docstring�s
		cCs�dtfd��Y}d|fd��Y}xT|df|df|�df|�dffD]"\}}|jt|�|�q]WdS(NtNoCallcBseZd�ZRS(cSs
t�dS(N(t
BaseException(Rtname((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt__getattr__�s(RRRO(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRL�stCallcBseZd�ZRS(cSsdS(N((RR((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR�s(RRR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRP�ss()Rs(ci)(tobjectR R!(RRLRPR:R=((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_attribute_exception�s
(cCs=x6ddddgifD]}|jt|�d�qWdS(Nigt0R(R R!(RR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_non_callables�s(
RRR,R/R3R6R9R;R>RIRKRRRT(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR's										tGet_entityTestcBseZd�Zd�ZRS(cCs|jtjd��dS(Ns1//0(tassertIsNonetCTit
get_entity(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_bad_entity�scCs|jtjd�t�dS(Ntint(tassertIsRWRXRZ(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_good_entity�s(RRRYR\(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRU�s	tPy2TestcBseZd�ZRS(cBsBej��ejd�ddUWdQX|jee�d�dS(Ntignoresdef f((a,b), c=0.0): passs(<tuple>, c=0.0)(twarningstcatch_warningstsimplefilterR R!R0(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_paramtuple_float�s

(RRRb(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR]�st__main__t	verbosityitexit(tunittesttidlelib.CallTipstCallTipsR1RWR-R(R_R*RQRR<tget_arg_textR!tTestCaseRRUR]RtmaintFalse(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt<module>s		�	

?>