7ec@sddlZddljZejZddlZddlZddlZdZde fdYZ e Z ej Z dejfdYZdejfdYZd ejfd YZed krejd d dendS(iNttTCcBseZdZdZddZde_dZde_ddZde_dZd e_d Z d e _dd Z d e _dZ de _dZ de _e dZedZRS(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 R R RRt classmethodRt staticmethodR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR s(                tGet_signatureTestcBskeZdZdZdZdZdZdZdZdZ dZ d Z d Z RS( csdtfdY}dd dY}fd}|jdk r^||d|jn|tjd|tjdd }|tj||gj|||j||tjd ||tdS( 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.pyR5scsjt||dS(N(t assertEqualt 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 MethodTypet default_tip(RRRR$t append_doc((Rs7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_builtins/s  cCs2tjjdk r.|jttjdndS(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)(ttextwrapt TextWrapperRRR R!(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_signature_wrapHscCsCd}dd|_|jt|ddtjdddS(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|jttdd}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 cCsd}d|_dd}d|_d}d|_d}d|_dd }d |_|jdk rud nd }x=|||||tfD]#}|jt||j|qWdS( 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.pyR jRs(*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 R R Rtfunc((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_functionscs          cCstjdk rdnd}xUtjtjtjtjtjtjtj fD]#}|j t ||j |qLW|j t tj d||j t tjd|dS(Ns docRs(a)s(b)(RRRRRR R R RRR R!RRR(RRtmeth((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_methodsss 7!cCstjdk rdnd}xstjdftjdftjdftjdftdftjdffD]&\}}|j t |||qgWdS(Ns docRs()s(*args)s(self)s(ci)s(a)( RRRttcRR RRRR R!(RRR:tmtip((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_bound_methodszs'1cCsdd dY}d}d}|}|jt|jd|jt|jd|jt|jd|jt|jd|jt|d|jt|ddS( NtCcBseZdZdZRS(cWsdS(N((R ((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytm1Rc[sdS(N((R7((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytm2R(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.pytf1Rc_sdS(N((R RBtargs1tkwargs1RRC((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytf2Rs(*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_parameters   cCs^d}|t_|jt|d|jttjd|jttjddS(NcSsdS(N((R5((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pytndRs(s)s()(RRJR R!R<(RRJ((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_no_docstrings   cCsdtfdY}d|fdY}xT|df|df|df|dffD]"\}}|jt||q]WdS(NtNoCallcBseZdZRS(cSs tdS(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.pyRLstCallcBseZdZRS(cSsdS(N((RR((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRs(RRR(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRPss()Rs(ci)(tobjectR R!(RRLRPR:R=((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_attribute_exceptions (cCs=x6ddddgifD]}|jt|dqWdS(Nigt0R(R R!(RR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_non_callabless( RRR,R/R3R6R9R;R>RIRKRRRT(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyR's          tGet_entityTestcBseZdZdZRS(cCs|jtjddS(Ns1//0(t assertIsNonetCTit get_entity(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_bad_entityscCs|jtjdtdS(Ntint(tassertIsRWRXRZ(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_good_entitys(RRRYR\(((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyRUs tPy2TestcBseZdZRS(cBsBejejdddUWdQX|jeeddS(Ntignoresdef f((a,b), c=0.0): passs(, c=0.0)(twarningstcatch_warningst simplefilterR R!R0(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_calltips.pyttest_paramtuple_floats  (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.pyts