403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python313/Lib/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python313/Lib/idlelib/__pycache__/calltip.cpython-313.pyc
�

��i0����SrSSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSK	J
r
 "SS5rSrSr
S	rS
r\R "S5rSrS
rSr\S:XaSSKJr \"SSS9 gg)z�Pop 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�R�\rSrSrS
SjrSrSrS
SjrSrSr	S	r
S
rSrSr
g)�Calltip�Nc�x�UcSUlgXlURUlSUlURUlg�N)�editwin�text�active_calltip�_make_tk_calltip_window�_calltip_window)�selfr
s  �$C:\Python313\\Lib\idlelib\calltip.py�__init__�Calltip.__init__s4���?��D�L�"�L����D�I�"&�D��#'�#?�#?�D� �c��SUlgr	)r�rs r�close�
Calltip.closes
��#��rc�B�[R"UR5$r	)r�
CalltipWindowrrs rr
�Calltip._make_tk_calltip_window s���&�&�t�y�y�1�1rc�j�UR(a"URR5 SUlggr	)r�hidetip�r�events  r�remove_calltip_window�Calltip.remove_calltip_window$s*��������'�'�)�"&�D��rc�&�URS5 g)z9The user selected the menu entry or hotkey, open the tip.T�break��open_calltiprs  r�force_open_calltip_event� Calltip.force_open_calltip_event)s�����$��rc�&�URS5 g)z�Happens 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.
FNr#rs  r�try_open_calltip_event�Calltip.try_open_calltip_event.s��
	
���%� rc��UR(a.URR(aURS5 ggg)NF)r�	tipwindowr$rs  r�refresh_calltip_event�Calltip.refresh_calltip_event5s0�����4�#6�#6�#@�#@����e�$�$A�rc���[URS5nURS5nU(dUR5 gUR(aV[[USRS55upEXE4URRURR4:XagURUS5 UR5nU(dgUR5 U(dURS5S:wagURU5nU(dgUR5UlURR!XsSUS5 g![a SnN�f=f)z�Maybe close an existing calltip and maybe open a new calltip.

Called from (force_open|try_open|refresh)_calltip_event functions.
�insert�(Nr�.����)rr
�get_surrounding_bracketsrr�map�int�split�	parenline�parencol�	set_index�get_expression�
ValueError�find�	fetch_tipr�showtip)r�	evalfuncs�hp�	sur_paren�opener_line�
opener_col�
expression�argspecs        rr$�Calltip.open_calltip9s>��
����x�
0���/�/��4�	���&�&�(�����&)�#�y��|�/A�/A�#�/F�&G�#�K��)��$�$�.�.��0C�0C�0L�0L�M�N��
���Y�q�\�"�	��*�*�,�J��
�	
�"�"�$��j�o�o�c�2�b�8���.�.��,����"�2�2�4������#�#�G�q�\�9�Q�<�H��/�	��J�	�s�<E�E!� E!c���URRRRRnU(aUR
SSU405$[[U55$![
a SnN>f=f)aReturn 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.

N�exec�get_the_calltip)	r
�flist�pyshell�interp�rpcclt�AttributeError�
remotecall�get_argspec�
get_entity)rrErNs   rr>�Calltip.fetch_tiplst��	��\�\�'�'�/�/�6�6�=�=�F���$�$�V�->�&0�]�B�8�
8��z�*�5�6�6��
�	��F�	�s�4A&�&A5�4A5)rrr
rr	)�__name__�
__module__�__qualname__�__firstlineno__rrr
rr%r(r,r$r>�__static_attributes__�rrrrs2��@�$�2�'�
�
!�%�1I�f7rrc��U(a.0[RE[REn[	X5$g![
a gf=f)zoReturn the object corresponding to expression evaluated
in a namespace spanning sys.modules and __main.dict__.
N)�sys�modules�__main__�__dict__�eval�
BaseException)rE�	namespaces  rrRrR�sK���8�s�{�{�8�h�&7�&7�8�	�	��
�.�.����	��	�s�
7�
A�A�U�z    z(?<=\()\w*\,?\s*zSee source or doczinvalid method signaturec�l�URn[U[R5(aUOUn[[R"U55n[U[5(aUS:Xa[n[U5[:�a[R "U[["S9OU(aU/O/n[R$"U5nU(apUR'S[(5S[(HOnUR+5nU(d O7[U5[:�aUS[S-
S-nUR-U5 MQ SR/U5nU=(d [$![a gf=f![a=n[U5nUR[5(a[sSnA$SnSnAGN]SnAff=f)a�Return 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.
�Nz())�subsequent_indent�
�z...)�__call__r`�
isinstance�types�
MethodType�str�inspect�	signature�	Exception�
startswith�_invalid_method�type�_default_callable_argspec�len�	_MAX_COLS�textwrap�wrap�_INDENT�getdocr7�
_MAX_LINES�strip�append�join)	�ob�ob_call�fobrF�err�msg�lines�doc�lines	         rrQrQ�s_����+�+�� ���)9�)9�:�:�'��C���g�'�'��,�-���#�t����D��+���G��y�(��]�]�7�I��
I�;B�w�i��
��.�.��
�C�
��I�I�d�J�/���<�D��:�:�<�D����4�y�9�$��O�i�!�m�,�u�4���L�L���
=��i�i���G��/�/�/��E��������#�h���>�>�/�*�*�"�"��G���s4�E�E,�
E)�(E)�,
F3�6*F.� F3�&F.�.F3r])�mainzidlelib.idle_test.test_calltip�)�	verbosity)�__doc__r]rn�rer[rwrk�idlelibr�idlelib.hyperparserrrrRrvr{ry�compile�_first_paramrtrrrQrT�unittestr�rYrr�<module>r�s������	�
����+�p7�p7�f�
�	�
�
�
���z�z�-�.��/��,��.0�b�z����	)�Q�7�r

Youez - 2016 - github.com/yon3zu
LinuXploit