+
    ^|i                     J    R t  ! R R4      t ! R R]4      t ! R R]4      tR# )zs
Autocall capabilities for IPython.core.

Authors:

* Brian Granger
* Fernando Perez
* Thomas Kluyver

Notes
-----
c                   <   a  ] tR t^t o RtRtRtRR ltR tRt	V t
R# )IPyAutocallzInstances of this class are always autocalled

This happens regardless of 'autocall' variable state. Use this to
develop macro-like mechanisms.
NTc                    Wn         R # N_ipselfips   &&7/usr/lib/python3/dist-packages/IPython/core/autocall.py__init__IPyAutocall.__init__'   s        c                    Wn         R# )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_ipIPyAutocall.set_ip*   s	     r   r   r   )__name__
__module____qualname____firstlineno____doc__r   rewriter   r   __static_attributes____classdictcell____classdict__s   @r   r   r      s%     
 CG r   r   c                   .   a  ] tR t^3t o RtRtR tRtV tR# )ExitAutocallzAn 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                :    V P                   P                  4        R # r   )r   ask_exit)r	   s   &r   __call__ExitAutocall.__call__8   s    r    N)	r   r   r   r   r   r   r    r   r   r   s   @r   r   r   3   s     KG r   r   c                   .   a  ] tR t^;t o RtRR ltRtV tR# )ZMQExitAutocallzExit 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).
c                Z    WP                   n        V P                   P                  4        R # r   )r   keepkernel_on_exitr   )r	   keep_kernels   &&r   r    ZMQExitAutocall.__call__D   s    &1#r   r"   N)F)r   r   r   r   r   r    r   r   r   s   @r   r$   r$   ;   s      r   r$   N)r   r   r   r$   r"   r   r   <module>r)      s,   : (; l r   