ó 4Y~gc @ sí d d l Z d d l j Z e j ƒ Z d d l Z d d l Z d d l Z d Z d e f d „ ƒ YZ e ƒ Z e j Z d e j f d „ ƒ YZ d e j f d „ ƒ YZ d e j f d „ ƒ YZ e d k ré e j d d d e ƒ n d S( iÿÿÿÿNt t TCc B sË e Z d Z d Z d d „ Z d e _ d „ Z d e _ d d „ Z d e _ d „ Z d e _ d „ Z d e _ d d „ Z d e _ d „ Z d e _ d „ Z d e _ e d „ ƒ Z e d „ ƒ Z RS( t docs (ai=None, *args)c G s d S( R N( ( t selft ait b( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt __init__ R s (self, ai=None, *args)c C s d S( R N( ( R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t1 R s (self)c C s d S( R N( ( R R R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t2 R s (self, ai, b=None)c G s d S( R N( ( R R t args( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t3 R s (self, ai, *args)c G s d S( R N( ( R R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t4 R s (self, *args)c O s d S( R N( ( R R R R t kw( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t5 R s# (self, ai, b=None, *args, **kwargs)c C s d S( R N( ( t noR ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt t6 R s (no, self)c C s d S( R N( ( R t ci( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt __call__ R s (self, ci)c C s d S( R N( ( t clst a( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt cm R c C s d S( R N( ( R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt sm! R N( t __name__t __module__t __doc__t tipt NoneR R R R R R R R t classmethodR t staticmethodR ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR s( t Get_signatureTestc B sk e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c sØ d t f d „ ƒ Y} d d d „ ƒ Y} ‡ f d † } | j d k r^ | | d | j ƒ n | t j d ƒ | t j d ƒ d } | t j | ƒ | g j | ƒ | | j | ƒ | t j d ƒ | | ƒ t ƒ d S( Nt Listc B s e Z d Z RS( s List() doc( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR 3 s t SBc B s e Z d Z RS( N( R R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR 5 s c s ˆ j t | ƒ | ƒ d S( N( t assertEqualt signature( t objt out( R ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt gtest7 s s () 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)( ( t listR R t __new__R t appendt typest MethodTypet default_tip( R R R R$ t append_doc( ( R sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_builtins/ s c C s2 t j j d k r. | j t t j ƒ d ƒ n d S( 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)( t textwrapt TextWrapperR R R R! ( R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_signature_wrapH s c C sC d „ } d d | _ | j t | ƒ d d t j d d ƒ d S( Nc S s d S( N( ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt fQ R R i, s () i s ...( R R R! t ctt _MAX_COLS( R R0 ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_docline_truncationP s c C sk | j t t ƒ d ƒ d „ } d } | d d d | _ | j t | ƒ d | t j d d d ƒ d S( NsX () list() -> new empty list list(iterable) -> new list initialized from iterable's itemsc S s d S( N( ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR0 \ s s a b c d i, t eR0 s () i s ...( R R! R% R R1 R2 ( R R0 t s( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_multiline_docstringU s c C s¿ d „ } d | _ d d „ } d | _ d „ } d | _ d „ } d | _ d d „ } d | _ | j d k ru d n d } x= | | | | | t f D]# } | j t | ƒ | j | ƒ q” Wd S( Nc S s d S( R N( ( ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR d R s ()c S s d S( R N( ( R R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR f R s (a, b=None)c W s d S( R N( ( R R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR h R s (a, *args)c W s d S( R N( ( R ( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR j R s (*args)c _ s d S( R N( ( R R R t kwds( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyR l R s (a, b=None, *args, **kwargs)s docR ( R R R R R R! ( R R R R R R R t func( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_functionsc s c C s± t j d k r d n d } xU t j t j t j t j t j t j t j f D]# } | j t | ƒ | j | ƒ qL W| j t t j ƒ d | ƒ | j t t j ƒ d | ƒ d S( Ns docR s (a)s (b)( R R R R R R R R R R R R! R R R ( R R t meth( ( sD /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_calltips.pyt test_methodss s 7!c C s• t j d k r d n d } xs t j d f t j d f t j d f t j d f t d f t j d f f D]&