config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/CallTips.pyc

³ò
h”Rc@s*dZddkZddkZddkZddklZddkZddd„ƒYZd„Zd„Ze	djo®d	„Z
dd
„Zd„Z
d„Zd
„Zdd„Zddd„ƒYZd„ZeƒZe
ee
eeeeei
eiei
eieieif
ZeeƒndS(sCallTips.py - An IDLE Extension to Jog Your Memory

Call Tips are floating windows which display function, class, and method
parameter and docstring information when you type an opening parenthesis, and
which disappear when you type a closing parenthesis.
iÿÿÿÿN(tHyperParsertCallTipscBszeZdd
gfgZdd„Zd„Zd„Zdd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
RS(tedits
Show call tips<<force-open-calltip>>cCsL|djod|_dSn||_|i|_d|_|i|_dS(N(tNoneteditwinttexttcalltipt_make_tk_calltip_windowt_make_calltip_window(tselfR((s,/usr/local/lib/python2.5/idlelib/CallTips.pyt__init__s
			cCs
d|_dS(N(RR(R	((s,/usr/local/lib/python2.5/idlelib/CallTips.pytclose scCsti|iƒS(N(t
CallTipWindowtCallTipR(R	((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR#scCs(|io|iiƒd|_ndS(N(RthidetipR(R	tevent((s,/usr/local/lib/python2.5/idlelib/CallTips.pyt_remove_calltip_window's

cCs|itƒdS(siHappens when the user really wants to open a CallTip, even if a
        function call is needed.
        N(topen_calltiptTrue(R	R((s,/usr/local/lib/python2.5/idlelib/CallTips.pytforce_open_calltip_event,scCs|itƒdS(sªHappens when it would be nice to open a CallTip, but not really
        neccesary, for example after an opening bracket, so function calls
        won't be made.
        N(RtFalse(R	R((s,/usr/local/lib/python2.5/idlelib/CallTips.pyttry_open_calltip_event2scCs/|io!|iiƒo|itƒndS(siIf there is already a calltip window, check if it is still needed,
        and if so, reload it.
        N(Rt	is_activeRR(R	R((s,/usr/local/lib/python2.5/idlelib/CallTips.pytrefresh_calltip_event9scCsÔ|iƒt|idƒ}|idƒ}|pdSn|i|dƒ|iƒ}|p|o|idƒdjodSn|i|ƒ}|pdSn|iƒ|_	|i	i
||d|dƒdS(Ntinsertt(iiÿÿÿÿi(RRRtget_surrounding_bracketst	set_indextget_expressiontfindt	fetch_tipRRtshowtip(R	t	evalfuncsthpt	sur_parentnametarg_text((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR@s
&cCsjy|iiiii}Wn
d}nX|o|idd|fhƒSn|i|ƒ}t|ƒSdS(s
Return the argument list and docstring of a function or class

        If there is a Python subprocess, get the calltip there.  Otherwise,
        either fetch_tip() is running in the subprocess itself or it was called
        in an IDLE EditorWindow before any script had been run.

        The subprocess environment is that of the most recently run script.  If
        two unrelated modules are being edited some calltips in the current
        module may be inoperative if the module was not the last to run.

        texectget_the_calltipN(	RtflisttpyshelltinterptrpccltRt
remotecallt
get_entitytget_arg_text(R	R#R*tentity((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRQs
cCsM|oBtiiƒ}|itiƒyt||ƒSWqIdSqIXndS(sALookup name in a namespace spanning sys.modules and __main.dict__N(tsystmodulestcopytupdatet__main__t__dict__tevalR(R	R#t	namespace((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR,hs(s
Show call tips<<force-open-calltip>>N(t__name__t
__module__tmenudefsRR
RRRRRRRRR,(((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRs								cCs]y|iiSWnHtj
o<x7|iD]'}t|ƒ}|dj	o|Sq)q)WnXdS(N(R
tim_functAttributeErrort	__bases__t_find_constructorR(tclass_obtbasetrc((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR=rs

c	Cs#d}|dj	od}t|ƒtitifjo0t|ƒ}|djo
d„}q—d}n0t|ƒtijo|i}d}n|}t|ƒtiti	gjoæyØ|i
i||i
i!}|i
pg}ttd„|ƒƒ}dgt|ƒt|ƒ|}td„||ƒ}|i
id@o|idƒn|i
id	@o|id
ƒndi|ƒ}d|}WqœqœXnt|d
dƒ}|of|iƒ}|idƒ}|djp
|djo
d}n|o|d7}n||| 7}qn|S(s:Get a string describing the arguments for the given objectticSsdS(N(R(((s,/usr/local/lib/python2.5/idlelib/CallTips.pyt<lambda>†sicSsdt|ƒS(s=%s(trepr(R#((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRB•scSs||S(((targtdflt((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRB—sis...is***s, s(%s)t__doc__s
iFN(Rttypettypest	ClassTypetTypeTypeR=t
MethodTypeR:tFunctionTypet
LambdaTypet	func_codetco_varnamestco_argcountt
func_defaultstlisttmaptlentco_flagstappendtjointgetattrtlstripR(	tobtargTextt	argOffsettfobtrealArgstdefaultstitemstdoctpos((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR-}sJ



	
!
R3cCsdS(s()N((((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt1²scCsdS(s(a, b=None)N((tatb((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt2³scGsdS(s(a, ...)N((Rdtargs((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt3´scGsdS(s(...)N((Rg((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt4µscGsdS(s(a, ...)N((RdRg((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt5¶scOsdS(s(a, b=None, ..., ***)N((RdReRgtkw((s,/usr/local/lib/python2.5/idlelib/CallTips.pytt6·stTCcBsVeZdZdd„Zd„Zdd„Zd„Zd„Zd„Z	dd„Z
RS(	s
(a=None, ...)cGsdS(s
(a=None, ...)N((R	RdRe((s,/usr/local/lib/python2.5/idlelib/CallTips.pyR
»scCsdS(s()N((R	((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRc¼scCsdS(s(a, b=None)N((R	RdRe((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRf½scGsdS(s(a, ...)N((R	RdRg((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRh¾scGsdS(s(...)N((R	Rg((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRi¿scGsdS(s(a, ...)N((R	RdRg((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRjÀscOsdS(s(a, b=None, ..., ***)N((R	RdReRgRk((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRlÁsN(R7R8RFRR
RcRfRhRiRjRl(((s,/usr/local/lib/python2.5/idlelib/CallTips.pyRm¹s				cCs¡tƒ}g}xp|D]h}|id|i}|i}|i|ƒ}||jo)|i|ƒd||ttƒfGHqqWdt|ƒt|ƒfGHdS(Ns
s%s - expected %s, but got %ss%d of %d tests failed(RRFR7RRVR-R.RT(tteststcttfailedtttexpectedR#R$((s,/usr/local/lib/python2.5/idlelib/CallTips.pyttestÃs		

	(((RFR/RHRRR3RR=R-R7RcRRfRhRiRjRlRmRsttcRn(((s,/usr/local/lib/python2.5/idlelib/CallTips.pys<module>s*c		3
				
	
	-

Man Man