← Back
Editing: wx.cpython-311.pyc
� �@�c� � �V � d Z ddlZddlZddlZddlmZ ddlZd� Zed� � � Z G d� dej � � Z G d� d e� � Z ed � � � Zed� � � Zed� � � Zd Z eej d � � Zn# e$ r Y nw xY wedk reZdS ej dk reZdS eZdS )z;Enable wxPython to be used interactively in prompt_toolkit � N)� default_timerc � � � � fd�}|S )aC Decorator which causes KeyboardInterrupt exceptions to be ignored during execution of the decorated function. This is used by the inputhook functions to handle the event where the user presses CTRL+C while IPython is idle, and the inputhook loop is running. In this case, we want to ignore interrupts. c �<