config root man

Current Path : /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 : //usr/local/lib/python2.5/idlelib/AutoComplete.pyo

³ò
h”Rc@s½dZddkZddkZddkZddklZddkZddklZddkZei	ei
eidZei	ei
dZ
eddƒ\ZZd	dd
„ƒYZdS(
sÖAutoComplete.py - An IDLE extension for automatically completing names.

This extension can complete either attribute names of file names. It can pop
a window with all available names, for the user to select from.
iÿÿÿÿN(tidleConf(tHyperParsers._~#$:-t_iitAutoCompletecBs§eZddgfgZeiddddddd	ƒZdd
„Zd„Zdd„Z	d
„Z
d„Zd„Zd„Z
d„Zdd„Zd„Zd„ZRS(teditsShow Completionss<<force-open-completions>>t
extensionsRt	popupwaitttypetinttdefaulticCsR|djod|_dSn||_|i|_d|_d|_d|_dS(N(tNoneteditwinttexttautocompletewindowt_delayed_completion_idt_delayed_completion_index(tselfR((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyt__init__%s
				cCsti|iƒS(N(tAutoCompleteWindowR(R((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyt_make_autocomplete_window3scCs(|io|iiƒd|_ndS(N(R
thide_windowR
(Rtevent((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyt_remove_autocomplete_window6s

cCs|itttƒdS(sqHappens when the user really wants to open a completion list, even
        if a function call is needed.
        N(topen_completionstTruetFalse(RR((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pytforce_open_completions_event;scCsg|iidƒ}|djo|ittttƒn+|tijo|ittttƒndS(s¦Happens when it would be nice to open a completion list, but not
        really neccesary, for example after an dot, so function
        calls won't be made.
        s	insert-1ct.N(Rtgett_open_completions_laterRtCOMPLETE_ATTRIBUTEStostseptCOMPLETE_FILES(RRtlastchar((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyttry_open_completions_eventAs
cCsyt|dƒo|iodSn|io%|iiƒo|iiƒdSn%|itttƒ}|odSndS(s¥Happens when the user wants to complete his word, and if neccesary,
        open a completion list after that (if there is more than one
        completion)
        tmc_stateNtbreak(thasattrR$R
t	is_activetcompleteRRR(RRtopened((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pytautocomplete_eventNs
cGsa|iidƒ|_|idj	o|ii|iƒn|ii|i|i|Œ|_dS(Ntinsert(	RtindexRRR
tafter_canceltafterRt_delayed_open_completions(Rtargs((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyR^s
cGs>d|_|iidƒ|ijodSn|i|ŒdS(NR+(R
RRR,RR(RR0((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyR/fs	cCs‘|idj	o |ii|iƒd|_nt|idƒ}|iiddƒ}t|ƒ}}|iƒo¬|p
|t	jo—|i
ƒt	}x+|o#||dtjo|d8}qœW|||!}	|}x2|o*||dtti
jo|d8}qÝW|||!}
nõ|iƒoã|p
|tjoÎ|i
ƒt}x+|o#||dtjo|d8}qUW|||!}	|or||ddjo]|idt|ƒ|dƒ|iƒ}
|
p|o|
idƒdjodSqqd	}
ndS|o|
o|	odSn|i|
|ƒ}|d
pdSn|iƒ|_|ii|dt|	ƒ|||ƒtS(sXFind the completions and create the AutoCompleteWindow.
        Return True if successful (no syntax error or so found).
        if complete is True, then if there's nothing to complete and no
        start of completion, won't open completions and return False.
        If mode is given, will open a completion list only in this mode.
        R+sinsert linestartiRs
insert-%dct(iÿÿÿÿNti(RR
RR-RRRtlentis_in_stringR!RtFILENAME_CHARSRR t
is_in_codeRtID_CHARSt	set_indextget_expressiontfindtfetch_completionsRR
tshow_windowR(Rt	evalfuncsR(tuserWantsWintmodethptcurlinetitjt
comp_startt	comp_whatt
comp_lists((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyRlsZ
"

#"



c		Csy|iiiii}Wn
d
}nX|o |idd||fhƒSn±|tjoÿ|djo{ti	i
ƒ}|itii	ƒt
d|ƒ}|iƒd|jot
d|ƒ}|iƒqXtd„|ƒ}qåy_|i|ƒ}t|ƒ}|iƒd|jo|i}|iƒntd„|ƒ}WqåggfSqåXnŠ|tjo||djo
d}nyAtii|ƒ}ti|ƒ}|iƒtd	„|ƒ}Wqåtj
oggfSqåXn|p
|}n||fSd
S(sOReturn a pair of lists of completions for something. The first list
        is a sublist of the second. Both are sorted.

        If there is a Python subprocess, get the comp. list there.  Otherwise,
        either fetch_completions() 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_completion_listR2sdir()t__all__cSs|d djS(iR((ts((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyt<lambda>ÁscSs|d djS(iR((RJ((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyRKËsRcSs|d djS(iR((RJ((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyRKÖsN(RtflisttpyshelltinterptrpccltR
t
remotecallRt__main__t__dict__tcopytupdatet__builtins__tevaltsorttfiltert
get_entitytdirRIR!Rtpatht
expandusertlistdirtOSError(	RtwhatR?ROt	namespacetbigltsmallltentitytexpandedpath((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyR;£sP






	




cCs,tiiƒ}|itiƒt||ƒS(sALookup name in a namespace spanning sys.modules and __main.dict__(tsystmodulesRSRTRQRRRV(RtnameR`((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyRYÞs(sShow Completionss<<force-open-completions>>N(t__name__t
__module__tmenudefsRt	GetOptionRR
RRRRR#R*RR/RR;RY(((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pyRs			
			7	;i((t__doc__RRetstringt
configHandlerRRRRQt
ascii_letterstdigitstcurdirR5R7trangeRR!R(((s0/usr/local/lib/python2.5/idlelib/AutoComplete.pys<module>s

Man Man