§
    �ŸjÇ  ã                   ó^   — d Z  G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        ZdS )zs
Autocall capabilities for IPython.core.

Authors:

* Brian Granger
* Fernando Perez
* Thomas Kluyver

Notes
-----
c                   ó(   — e Zd ZdZdZdZdd„Zd„ ZdS )ÚIPyAutocallz¡ Instances of this class are always autocalled
    
    This happens regardless of 'autocall' variable state. Use this to
    develop macro-like mechanisms.
    NTc                 ó   — || _         d S ©N©Ú_ip©ÚselfÚips     úb/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/IPython/core/autocall.pyÚ__init__zIPyAutocall.__init__'   s   € ØˆŒˆˆó    c                 ó   — || _         dS )zŒWill be used to set _ip point to current ipython instance b/f call

        Override this method if you don't want this to happen.

        Nr   r   s     r   Úset_ipzIPyAutocall.set_ip*   s   € ð ˆŒˆˆr   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úrewriter   r   © r   r   r   r      sM   € € € € € ðð ð
 €CØ€Gðð ð ð ðð ð ð ð r   r   c                   ó   — e Zd ZdZdZd„ ZdS )ÚExitAutocallz�An autocallable object which will be added to the user namespace so that
    exit, exit(), quit or quit() are all valid ways to close the shell.Fc                 ó8   — | j                              ¦   «          d S r   )r   Úask_exit)r	   s    r   Ú__call__zExitAutocall.__call__8   s   € ØŒ×ÒÑÔÐÐÐr   N)r   r   r   r   r   r   r   r   r   r   r   3   s4   € € € € € ðKð Kà€Gðð ð ð ð r   r   c                   ó   — e Zd ZdZdd„ZdS )ÚZMQExitAutocallzÝExit IPython. Autocallable, so it needn't be explicitly called.
    
    Parameters
    ----------
    keep_kernel : bool
      If True, leave the kernel alive. Otherwise, tell the kernel to exit too
      (default).
    Fc                 óP   — || j         _        | j                              ¦   «          d S r   )r   Úkeepkernel_on_exitr   )r	   Úkeep_kernels     r   r   zZMQExitAutocall.__call__D   s&   € Ø&1ˆŒÔ#ØŒ×ÒÑÔÐÐÐr   N)F)r   r   r   r   r   r   r   r   r   r   ;   s2   € € € € € ðð ðð ð ð ð ð r   r   N)r   Úobjectr   r   r   r   r   r   ú<module>r!      s—   ððð ð:ð ð ð ð �&ñ ô ð ð(ð ð ð ð �;ñ ô ð ðð ð ð ð �lñ ô ð ð ð r   