| 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 : C:/Python315/Lib/idlelib/__pycache__/ |
Upload File : |
R
>lqj0 c �� � Q s ] PHs] PHs] PHs] PHs] PHs] PHs] QHGs ] QH$G
s
Q Q2 sQ s]Us
]sQs\O Q2 sQsQsQ s\Q
6X c ] QHXGs \ Q]Q
5 P! P! )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.
)� calltip_w)�HyperParserc �` ` � \ sQ s]s n QQ ksQ sQ sQQ ksQ sQ s Q s
Q sQ sQ
s
U sP! )�Calltipc � � Ue
PU m P! Vm UO U m PU m U O U m P! �N)�editwin�text�active_calltip�_make_tk_calltip_window�_calltip_window)�selfr s &&�$C:\Python315\\Lib\idlelib\calltip.py�__init__�Calltip.__init__ s4 � ��?��D�L�"�L����D�I�"&�D��#'�#?�#?�D� � c � � PU m P! r )r �r s &r
�close�
Calltip.close s
� �#��r c �D � [ O U O 2 ! r )r �
CalltipWindowr r s &r
r
�Calltip._make_tk_calltip_window s � ��&�&�t�y�y�1�1r c �r � U O % c$ U O O 2 PU m P! P! r )r �hidetip�r �events &&r
�remove_calltip_window�Calltip.remove_calltip_window$ s- � ��������'�'�)�"&�D�� r c �* � U O P 2 Q! )z9The user selected the menu entry or hotkey, open the tip.�break��open_calltipr s &&r
�force_open_calltip_event� Calltip.force_open_calltip_event) s � ����$��r c �* � U O P
2 P! )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.
r r s &&r
�try_open_calltip_event�Calltip.try_open_calltip_event. s � �
���%� r c � � U O % c2 U O O % c U O P
2 P! P! P! )F)r � tipwindowr! r s &&r
�refresh_calltip_event�Calltip.refresh_calltip_event5 s6 � �����4�#6�#6�#@�#@�#@����e�$� $A�r c � � [ U O Q2 oUO Q2 oU% f U O 2 P! U O % c] [ [ U] * O Q2 2 v qEVE1U O O U O O 16X c P! UO U] * 2 UO 2 oU% f P! U O 2 U% f UO Q2 P6w c P! U O U2 oU% f P! U O 2 U m U O O! Vs] * U]* 2 P! [ c Po K�h 9 h)z�Maybe close an existing calltip and maybe open a new calltip.
Called from (force_open|try_open|refresh)_calltip_event functions.
�insert�(�.)r r �get_surrounding_bracketsr r �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 && r
r! �Calltip.open_calltip9 sA � �
����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 �
E0 �0 F �:F �?F c � � U O O O O O oU% c UO
QQU1- 2 ! [ [ U2 2 ! [
c Po K@h 9 h)a Return 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.
�exec�get_the_calltip) r �flist�pyshell�interp�rpcclt�AttributeError�
remotecall�get_argspec�
get_entity)r r@ rI s && r
r9 �Calltip.fetch_tipl st � � ��\�\�'�'�/�/�6�6�=�=�F� ��$�$�V�->�&0�]�B�8�
8� �z�*�5�6�6��
� ��F� �s �4A( �( A8�2A8�7A8)r r r r r )�__name__�
__module__�__qualname__�__firstlineno__r r r
r r"