+
    ^|i                     V    R t ^ RIt^ RIHt ]P                  ! R4      t ! R R4      tR# )z)Support for interactive macros in IPythonN)DEFAULT_ENCODINGz#\s*coding[:=]\s*([-\w.]+)c                   B   a  ] tR t^t o RtR tR tR tR tR t	Rt
V tR# )	MacrozSimple class to store the value of macros as strings.

Macro is just a callable that executes a string of IPython
input when called.
c                f   . pRpVP                  4        FD  p\        P                  V4      pV'       d   VP                  ^4      pK3  VP	                  V4       KF  	  RP                  V4      p\        V\        4      '       d    TP                  T;'       g    \        4      pVR,           V n
        R# )z?store the macro value, as a single string which can be executedN
)
splitlinescoding_declarationmatchgroupappendjoin
isinstancebytesdecoder   value)selfcodelinesenclinecoding_matchs   &&    4/usr/lib/python3/dist-packages/IPython/core/macro.py__init__Macro.__init__   s    OO%D-33D9L"((+T" & yydE"";;s66&67DD[
    c                    V P                   # Nr   r   s   &r   __str__Macro.__str__&   s    zzr   c                :    R \        V P                  4      ,          # )zIPython.macro.Macro(%s))reprr   r   s   &r   __repr__Macro.__repr__)   s    (4

+;;;r   c                    RV P                   /# )z$needed for safe pickling via %store r   r   r   s   &r   __getstate__Macro.__getstate__,   s    $$r   c                    \        V\        4      '       d'   \        V P                  VP                  ,           4      # \        V\        4      '       d   \        V P                  V,           4      # \        hr   )r   r   r   str	TypeError)r   others   &&r   __add__Macro.__add__0   sM    eU##ekk122s##e+,,r   r   N)__name__
__module____qualname____firstlineno____doc__r   r   r#   r&   r,   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s(     !<% r   r   )r2   reIPython.utils.encodingr   compiler   r    r   r   <module>r:      s*    / 
 3ZZ => % %r   