Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
U i_@sdZddlZddlZddlZddlZddlZddlZddlmZddl m Z GdddZ ddZ d Z d Zd Zed Zd ZdZdZddZedkrddlmZeddddS)zPop up a reminder of how to call a function. 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. N) calltip_w) HyperParserc@sXeZdZdddZddZddZddd Zd d Zd d ZddZ ddZ ddZ dS)CalltipNcCs0|dkrd|_n||_|j|_d|_|j|_dSN)editwintextactive_calltip_make_tk_calltip_window_calltip_window)selfrr ./opt/python38/lib/python3.8/idlelib/calltip.py__init__s zCalltip.__init__cCs d|_dSr)r r r r r closesz Calltip.closecCs t|jSr)rZ CalltipWindowrrr r r r szCalltip._make_tk_calltip_windowcCs|jr|jd|_dSr)rZhidetipr eventr r r remove_calltip_window$s zCalltip.remove_calltip_windowcCs|ddS)z9The user selected the menu entry or hotkey, open the tip.Tbreak open_calltiprr r r force_open_calltip_event)s z Calltip.force_open_calltip_eventcCs|ddS)zHappens when it would be nice to open a calltip, but not really necessary, for example after an opening bracket, so function calls won't be made. FNrrr r r try_open_calltip_event.szCalltip.try_open_calltip_eventcCs|jr|jjr|ddS)NF)rZ tipwindowrrr r r refresh_calltip_event5szCalltip.refresh_calltip_eventcCs|t|jd}|d}|s&dS||d|}|sDdS|sZ|ddkrZdS||}|sldS||_ |j ||d|ddS)Ninsert(r) rrrZget_surrounding_bracketsZ set_indexZget_expressionfind fetch_tipr rZshowtip)r Z evalfuncsZhpZ sur_paren expressionargspecr r r r9s     zCalltip.open_calltipcCsRz|jjjjj}Wntk r*d}YnX|rB|dd|fiStt|SdS)aDReturn the argument list and docstring of a function or class. If there is a Python subprocess, get the calltip there. Otherwise, either this fetch_tip() is running in the subprocess or it was called in an IDLE running without the subprocess. 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. To find methods, fetch_tip must be fed a fully qualified name. NexecZget_the_calltip) rflistZpyshellZinterprpccltAttributeErrorZ remotecall get_argspec get_entity)r r r$r r r rLs zCalltip.fetch_tip)N)N) __name__ __module__ __qualname__rrr rrrrrrr r r r rs  rcCs8|r4tjtj}z t||WStk r2YdSXdS)zwReturn the object corresponding to expression evaluated in a namespace spanning sys.modules and __main.dict__. N)sysmodules__main____dict__eval BaseException)r namespacer r r r'es   r'Uz z(?<=\()\w*\,?\s*zSee source or doczinvalid method signaturez0 # '/' marks preceding args as positional-only.c Csz |j}Wntk r YdSXt|tjr2|n|}ztt|}WnDtk r}z&t|}| t rxt WY Sd}W5d}~XYnXd|krt |t t t kr|t 7}t|tr|dkrt}t |t krtj|t tdn |r|gng}t|tjr|j}n t|dd}|rv|dtdtD]F}|}|sFqvt |t krh|dt dd }||q.d|}|ptS) aReturn a string describing the signature of a callable object, or ''. For Python-coded functions and methods, the first line is introspected. Delete 'self' parameter for classes (.__init__) and bound methods. The next lines are the first lines of the doc string up to the first empty line or _MAX_LINES. For builtins, this typically includes the arguments in addition to the return value. N/z())subsequent_indent__doc__ z...)__call__r0 isinstancetypes MethodTypestrinspectZ signature Exception startswith_invalid_methodlen _MAX_COLS_argument_positionaltype_default_callable_argspectextwrapwrap_INDENTr7getattrsplit _MAX_LINESstripappendjoin) obZob_callZfobr!errmsglinesdocliner r r r&{sB        r&r-)mainzidlelib.idle_test.test_calltip) verbosity)r7r-r?rer+rHr<ZidlelibrZidlelib.hyperparserrrr'rDrMrJcompileZ _first_paramrGrBrEr&r(ZunittestrWr r r r s*  S 6