Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/IPython/terminal/pt_inputhooks/__pycache__/tk.cpython-39.pyc
Ðазад
a o�h@ � @ s( d Z ddlZddlZddlZdd� ZdS )a� Wrapper around the eventloop that gives some time to the Tkinter GUI to process events when it's loaded and while we are waiting for input at the REPL. This way we don't block the UI of for instance ``turtle`` and other Tk libraries. (Normally Tkinter registers it's callbacks in ``PyOS_InputHook`` to integrate in readline. ``prompt-toolkit`` doesn't understand that input hook, but this will fix it for Tk.) � Nc sF t j�� �fdd�}� �fdd�}�durBt�d�r<|� n|� dS )zj Inputhook for Tk. Run the Tk eventloop until prompt-toolkit needs to process the next input. c sP dg� � fdd�} �� ��� tj| � ��tj�r>� d r&q>q&����� � dS )zv Run the TK eventloop until the file handler that we got from the inputhook becomes readable. Fc s d� d<