o
    8f]                     @   s&  d dl Z d dlZd dlmZmZ d dlmZmZmZm	Z	m
Z
mZmZmZmZmZ d dlmZmZmZ d dlmZmZ d dlmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( d dl)m*Z* d dl+m,Z, d d	l-m.Z.m/Z/ ed
Z0e1Z2e1Z3ee.e/f Z4eG dd dZ5eG dd dZ6eG dd dZ7eG dd dZ8dee0 deee2e0f  fddZ9	d3de5de5de	e. de:ddf
ddZ;ddd e5d!ed"e<de:fd#d$Z=d e5de:fd%d&Z>d'e6d(e1de:fd)d*Z?d e5d+e.d(e1de:fd,d-Z@d e5d.e.d(e1de:fd/d0ZAd e5de<fd1d2ZBdS )4    N)	dataclassfield)
CallableDictIteratorListOptionalSequenceTupleTypeVarUnioncast)COMMA_PRIORITYDOT_PRIORITYBracketTracker)ModePreview)BRACKETSCLOSING_BRACKETSOPENING_BRACKETSSTANDALONE_COMMENTTEST_DESCENDANTSchild_towardsis_docstring	is_importis_multiline_stringis_one_sequence_betweenis_type_commentis_type_ignore_commentis_with_or_async_with_stmtmake_simple_prefixreplace_childsyms
whitespace)	str_width)token)LeafNodeTc                	   @   s  e Zd ZU dZeddZeed< dZe	ed< ee
dZee ed< eedZeeee f ed	< eedZeed
< dZeed< dZeed< dZee ed< 	dTdedededdfddZdUdededdfddZedefddZedefddZedefddZedefddZedefdd Z edefd!d"Z!edefd#d$Z"edefd%d&Z#edefd'd(Z$edefd)d*Z%edefd+d,Z&edefd-d.Z'edefd/d0Z(dd1d2ee)egef  defd3d4Z*defd5d6Z+defd7d8Z,defd9d:Z-defd;d<Z.defd=d>Z/d?edefd@dAZ0dBedefdCdDZ1dedee fdEdFZ2dVdGdHZ3dedefdIdJZ4	dUdKede5e6e7ee	f  fdLdMZ8dWdNdOZ9de:fdPdQZ;defdRdSZ<dS )XLinez;Holds leaves and comments. Can be printed with `str(line)`.F)reprmoder   depthdefault_factoryleavescommentsbracket_trackerinside_bracketsshould_split_rhsNmagic_trailing_commaleafpreformattedtrack_bracketreturnc                 C   s   |j tv pt|j }|sdS tj|j kr| jr| jdd= | jr4|s4| j	t
|| || jd7  _	| js;|r;|rW| j| | jjrN| |rM|| _n	| |rW|   | |sd| j| dS dS )ag  Add a new `leaf` to the end of the line.

        Unless `preformatted` is True, the `leaf` will receive a new consistent
        whitespace prefix and metadata applied by :class:`BracketTracker`.
        Trailing commas are maybe removed, unpacked for loop variables are
        demoted from being delimiters.

        Inline comments are put aside.
        N)complex_subscriptr+   )typer   boolvaluestripr%   COLONis_class_paren_emptyr/   prefixr#   is_complex_subscriptr+   r2   r1   markr4   has_magic_trailing_commaremove_trailing_commaappend_commentappend)selfr5   r6   r7   	has_value rJ   D/home/ertert/spirit/venv/lib/python3.10/site-packages/black/lines.pyrG   ?   s,   




zLine.appendc                 C   sN   | j jdks| j  r| jrtd| jr|jtkrtd| j||d dS )zLike :func:`append()` but disallow invalid standalone comment structure.

        Raises ValueError when any `leaf` is appended after a standalone comment
        or when a standalone comment is not the first leaf on the line.
        r   z$cannot append to standalone commentsz5cannot append standalone comments to a populated liner6   N)	r1   r,   any_open_for_or_lambda
is_comment
ValueErrorr/   r;   r   rG   )rH   r5   r6   rJ   rJ   rK   append_safec   s   zLine.append_safec                 C   s   t | jdko| jd jtkS )z"Is this line a standalone comment?   r   )lenr/   r;   r   rH   rJ   rJ   rK   rN   w   s   zLine.is_commentc                 C   s   t | o| jd jtjkS )zIs this line a decorator?r   )r<   r/   r;   r%   ATrS   rJ   rJ   rK   is_decorator|   s   zLine.is_decoratorc                 C      t | o
t| jd S )zIs this an import line?r   )r<   r   r/   rS   rJ   rJ   rK   r         zLine.is_importc                 C   rV   )zIs this a with_stmt line?r   )r<   r   r/   rS   rJ   rJ   rK   r      rW   zLine.is_with_or_async_with_stmtc                 C   s*   t | o| jd jtjko| jd jdkS )z Is this line a class definition?r   class)r<   r/   r;   r%   NAMEr=   rS   rJ   rJ   rK   is_class   s
   zLine.is_classc                 C   s&   | j o| jdd dd tdD kS )zEIs this line a class definition with a body consisting only of "..."?Nc                 S      g | ]}t tjd qS .r&   r%   DOT.0_rJ   rJ   rK   
<listcomp>       z&Line.is_stub_class.<locals>.<listcomp>   )rZ   r/   rangerS   rJ   rJ   rK   is_stub_class   s   zLine.is_stub_classc                 C   s   z| j d }W n
 ty   Y dS w z| j d }W n ty$   d}Y nw |jtjkr0|jdkpD|jtjkoD|duoD|jtjkoD|jdkS )zBIs this a function definition? (Also returns True for async defs.)r   FrQ   Ndef)r/   
IndexErrorr;   r%   rY   r=   ASYNC)rH   
first_leafsecond_leafrJ   rJ   rK   is_def   s$   
zLine.is_defc                 C   s4   | j o| jdd ttjdgdd tdD  kS )zHIs this line a function definition with a body consisting only of "..."?N:c                 S   r\   r]   r_   ra   rJ   rJ   rK   rd      re   z$Line.is_stub_def.<locals>.<listcomp>rf   )rn   r/   r&   r%   r?   rg   rS   rJ   rJ   rK   is_stub_def   s   $
zLine.is_stub_defc                 C   s`   t | o/t| jdko/| jo/| jd jtjko/| jd jdko/| jd jtjko/| jd jdkS )zzIs this a class with no base classes but using parentheses?

        Those are unnecessary and should be removed.
              (rf   ))	r<   rR   r/   rZ   r;   r%   LPARr=   RPARrS   rJ   rJ   rK   r@      s   zLine.is_class_paren_emptyc                 C   sF   | r| j d jtjkrdS | j d j}|drdS |dr!dS dS )z#Is the line a triple quoted string?r   F)z"""z'''T)zr'''zr"""zR'''zR""")r/   r;   r%   STRINGr=   
startswith)rH   r=   rJ   rJ   rK   _is_triple_quoted_string   s   

zLine._is_triple_quoted_stringc                 C   s,   t j| jvr	| jS t| ot| jd | jS )zIs the line a docstring?r   )r   unify_docstring_detectionr+   rz   r<   r   r/   rS   rJ   rJ   rK   r      s   zLine.is_docstringc                 C   s   dd | j D tjdkS )z Is the line a chained assignmentc                 S   s   g | ]}|j qS rJ   r;   rb   r5   rJ   rJ   rK   rd      s    z.Line.is_chained_assignment.<locals>.<listcomp>rQ   )r/   countr%   EQUALrS   rJ   rJ   rK   is_chained_assignment   s   zLine.is_chained_assignmentc                 C   s$   t | jdkr	dS | jd jtjkS )z/Does this line open a new level of indentation.r   F)rR   r/   r;   r%   r?   rS   rJ   rJ   rK   opens_block   s   zLine.opens_blockfirst_leaf_matchesr   c                C   sF   t | jdkr	dS | jd }|jtks|jdu rdS |du p"||jS )zIs this line converted from fmt off/skip code?

        If first_leaf_matches is not None, it only returns True if the first
        leaf of converted code matches.
        rQ   Fr   N)rR   r/   r;   r   fmt_pass_converted_first_leaf)rH   r   r5   rJ   rJ   rK   is_fmt_pass_converted   s   



zLine.is_fmt_pass_convertedc                 C   s    | j D ]
}|jtkr dS qdS )z)If so, needs to be split before emitting.TF)r/   r;   r   rH   r5   rJ   rJ   rK   contains_standalone_comments   s
   

z!Line.contains_standalone_commentsc                 C   s^   t | jdd D ]#\}}|tjkrq	t|}t|dkrq	|D ]}| |r+  dS q q	dS )zFChck if we have an implicit multiline string with comments on the linec                 S   s   | j S Nr|   )r5   rJ   rJ   rK   <lambda>  s    zGLine.contains_implicit_multiline_string_with_comments.<locals>.<lambda>rQ   TF)	itertoolsgroupbyr/   r%   rx   listrR   comments_after)rH   	leaf_typeleaf_group_iterator	leaf_listr5   rJ   rJ   rK   0contains_implicit_multiline_string_with_comments   s   


z5Line.contains_implicit_multiline_string_with_commentsc                 C   s   t  }z)| jd }|t| |jtjks|jtjkr+|js+| jd }|t| W n
 t	y6   Y dS w d}| j
 D ]\}}|D ]}t|rX|sTt|sX||vrX  dS d}qDq>dS )Nr   r9   FT)setr/   addidr;   r%   COMMArw   r=   rj   r0   itemsr   r   )rH   ignored_ids	last_leafcomment_seenleaf_idr0   commentrJ   rJ   rK   $contains_uncollapsable_type_comments  s0   


z)Line.contains_uncollapsable_type_commentsc                 C   s   | j sdS tdd | j D d}tdd t| j D d}||kr?| j dd  D ]}| jt|g D ]
}t|r=  dS q3q(dS )NFc                 s        | ]}|j d kr|j V  qdS r   Nlinenor}   rJ   rJ   rK   	<genexpr>D      z9Line.contains_unsplittable_type_ignore.<locals>.<genexpr>r   c                 s   r   r   r   r}   rJ   rJ   rK   r   F  r   r9   T)r/   nextreversedr0   getr   r   )rH   
first_line	last_linenoder   rJ   rJ   rK   !contains_unsplittable_type_ignore3  s   z&Line.contains_unsplittable_type_ignorec                 C   s   t dd | jD S )Nc                 s   s    | ]}t |V  qd S r   )r   r}   rJ   rJ   rK   r   U      z2Line.contains_multiline_strings.<locals>.<genexpr>)anyr/   rS   rJ   rJ   rK   contains_multiline_stringsT  s   zLine.contains_multiline_stringsclosingc                 C   s   |j tv r| jr| jd j tjksdS |j tjkrdS |j tjkrT|jdurR|jj tj	krR|j
durRt|j
|| jtjtjfdrR|jdusGJ |jj tjksPJ dS dS | jrYdS |j
durht|j
|| jshdS dS )zReturn True if we have a magic trailing comma, that is when:
        - there's a trailing comma here
        - it's not from single-element square bracket indexing
        - it's not a one-tuple
        r   FTN)brackets)r;   r   r/   r%   r   RBRACERSQBparentr"   traileropening_bracketr   LSQBprev_siblingsubscriptlistr   )rH   r   rJ   rJ   rK   rD   W  s:   




zLine.has_magic_trailing_commar   c                 C   s   |j tkr| j rd|_dS |j tjkrdS | js"t|_ d|_dS | jd }|j tjkrV|j	sV|j
rVtt|j
 dkrVt|sVt| jdk rQt|_ d|_dS | jd }| jt|g | dS )z0Add an inline or standalone comment to the line. Fr   rf   rs   r9   T)r;   r   r1   any_open_bracketsrA   r%   COMMENTr/   rw   r=   r   rR   r   r   r0   
setdefaultr   rG   )rH   r   r   rJ   rJ   rK   rF     s6   


zLine.append_commentc                 C   s   | j t|g S )z;Generate comments that should appear directly after `leaf`.)r0   r   r   r   rJ   rJ   rK   r     s   zLine.comments_afterc                 C   s>   | j  }| jt|g }| jt| j d g | dS )z@Remove the trailing comma and moves the comments attached to it.r   N)r/   popr0   r   r   extend)rH   trailing_commatrailing_comma_commentsrJ   rJ   rK   rE     s
   
zLine.remove_trailing_commac                 C   sj   | j  }|du rdS |j}t|tr&|jtjkrdS |jtjkr&t	||}|duo4t
dd | D S )zAReturn True iff `leaf` is part of a slice with non-trivial exprs.NFc                 s   s    | ]}|j tv V  qd S r   )r;   r   )rb   nrJ   rJ   rK   r     s    

z,Line.is_complex_subscript.<locals>.<genexpr>)r1   get_open_lsqbnext_sibling
isinstancer'   r;   r"   	listmakerr   r   r   	pre_order)rH   r5   	open_lsqbsubscript_startrJ   rJ   rK   rB     s   


zLine.is_complex_subscriptis_reversedc                 c   s    t ttt gttttf  f |rtnt}|| j	D ]+\}}t
|jt
|j }d|jv r2 dS | |D ]	}|t
|j7 }q7|||fV  qdS )zReturn an enumeration of leaves with their length.

        Stops prematurely on multiline strings and standalone comments.
        
N)r   r   r	   r&   r   r
   Indexenumerate_reversed	enumerater/   rR   rA   r=   r   )rH   r   opindexr5   lengthr   rJ   rJ   rK   enumerate_with_length  s   

zLine.enumerate_with_lengthc                 C   s   t | j| j| j| j| jdS )N)r+   r,   r2   r3   r4   )r)   r+   r,   r2   r3   r4   rS   rJ   rJ   rK   clone  s   z
Line.clonec                 C   sz   | sdS d| j  }t| j}t|}|j | |j }|D ]}|t|7 }qtj	| j
 D ]}|t|7 }q0|d S )zRender the line.r   z    )r,   iterr/   r   rA   r=   strr   chainfrom_iterabler0   values)rH   indentr/   firstresr5   r   rJ   rJ   rK   __str__  s   

zLine.__str__c                 C   s   t | jp| jS )z/Return True if the line has leaves or comments.)r<   r/   r0   rS   rJ   rJ   rK   __bool__  s   zLine.__bool__)FFF)r8   N)r8   r)   )=__name__
__module____qualname____doc__r   r+   r   __annotations__r,   intr   r/   r   r&   dictr0   r   LeafIDr   r1   r2   r<   r3   r4   r   rG   rP   propertyrN   rU   r   r   rZ   rh   rn   rq   r@   rz   r   r   r   r   r   r   r   r   r   r   rD   rF   r   rE   rB   r   r
   r   r   r   r   r   r   rJ   rJ   rJ   rK   r)   1   s   
 
$
$!,%


	r)   c                   @   s:   e Zd ZU dZeed< eed< eed< eed< eed< dS )	RHSResultz2Intermediate split result from a right hand split.headbodytailr   closing_bracketN)r   r   r   r   r)   r   r&   rJ   rJ   rJ   rK   r     s   
 r   c                   @   sz   e Zd ZU dZeed< ed  ed< eed< dZe	ed< e
edZee ed< dZe	ed	< d
Zeed< dee fddZdS )
LinesBlockzClass that holds information about a block of formatted lines.

    This is introduced so that the EmptyLineTracker can look behind the standalone
    comments and adjust their empty lines for class or def lines.
    r+   previous_blockoriginal_liner   beforer-   content_linesafterF	form_feedr8   c                 C   s8   t t| jd}t| j| j|}|g| j || j g S )N)r+   )r   r)   r+   r    r   r   r   r   )rH   
empty_linerA   rJ   rJ   rK   	all_lines  s   zLinesBlock.all_linesN)r   r   r   r   r   r   r   r)   r   r   r   r   r   r   r   r   r   r<   r   rJ   rJ   rJ   rK   r     s   
 r   c                
   @   s   e Zd ZU dZeed< dZee ed< dZ	ee
 ed< eedZee ed< dZee
 ed< d	ed
e
fddZd	ed
eeef fddZd	ededed
eeef fddZdS )EmptyLineTrackera{  Provides a stateful method that returns the number of potential extra
    empty lines needed before and after the currently processed line.

    Note: this tracker works on lines that haven't been split yet.  It assumes
    the prefix of the first leaf consists of optional newlines.  Those newlines
    are consumed by `maybe_empty_lines()` and included in the computation.
    r+   Nprevious_liner   r-   previous_defssemantic_leading_commentcurrent_liner8   c                 C   s  |j dkot|jod|jd jv }| |\}}| jr | jjnd}td|| }| jrH| jjdu rHt| jj	jdkrH| jj	j
rH|jsH|jsHd}t| j| j||||d}|jrq| jdu sm| jjsp| jjrf|rp| jdu sm|rp|| _n|jrv|ryd| _|| _|| _|S )zReturn the number of extra empty lines before and after the `current_line`.

        This is for separating `def`, `async def` and `class` with extra empty
        lines (two on module-level).
        r   z
NrQ   )r+   r   r   r   r   r   )r,   r<   r/   rA   _maybe_empty_linesr   r   maxrR   r   r   rZ   rn   r   r+   rN   r   rU   r   )rH   r   r   r   r   previous_afterblockrJ   rJ   rK   maybe_empty_lines+  sV   



z"EmptyLineTracker.maybe_empty_linesc                 C   s  d}|j dkr| jjrdnd}|jr&|jd }|jd}t||}d|_nd}t|}|j }d }| jrL| jd j |krL| j	 }| jrL| jd j |ks<|j
sR|jrX| j| | jd u r_dS |jrr| jjrhdS | jjrr| jj
rrdS |d ur| jd us}J | jjr|jr|jsd}n8|r|j
s| jj
r|rdnd}n(|rd}n#d}n |rd}n|s|j r|jd jtjkr|jd jd	vrd}nd}|js|j
s|jr| |||S | jjr|js|jtd
s|| jj kr|pddfS |dfS )NrQ   r   rs   r   r   r   r   r   r   rQ   )withtryforwhileifmatchr   )r,   r+   is_pyir/   rA   r~   minr<   r   r   rn   rZ   rG   r   r   r   rh   r;   r%   r?   r=   rU   #_maybe_empty_lines_for_class_or_defr   r   )rH   r   max_allowedrl   r   user_had_newliner,   previous_defrJ   rJ   rK   r   ]  sv   






z#EmptyLineTracker._maybe_empty_linesr   r
  c                 C   s  | j d usJ | j jr| jjr|jrdS dS | j j|jk r5| j js%| j jr5| jjr+dS |r1ddfS ddfS d }| j jrf| j j|jkrf|dkrf| j	}|d urd|j
d urd|j
jjsd|j
jjsd|jdkrd|}ndS | jjr|jsq| j jr| j j|jk r{d}nI| j j|jkrd}n?|jr| j jrd}n5d}n2| j j|jkrd}n(|js|jr| j js|jrtd|}nd}nd}n|jrdnd}| j jr|sd}|d ur|j
}|d urt|j||j |_d}|dfS )Nr   r   rQ   r   rs   )r   rU   r+   r  rh   r,   rZ   rn   rN   r   r   r   r   r   r  rq   r   r   )rH   r   r   r
  comment_to_add_newlinesslcnewlinesr   rJ   rJ   rK   r    sv   

z4EmptyLineTracker._maybe_empty_lines_for_class_or_def)r   r   r   r   r   r   r   r   r)   r   r   r   r   r   r   r   r   r
   r   r   r<   r  rJ   rJ   rJ   rK   r     s$   
 2T
r   sequencer8   c                 c   s2    t | d }t| D ]}||fV  |d8 }qdS )z;Like `reversed(enumerate(sequence))` if that were possible.rQ   N)rR   r   )r  r   elementrJ   rJ   rK   r     s   

r   Fnew_lineold_liner/   r6   c                 C   sR   |D ]$}t |j|j}t|| | j||d ||D ]	}| j|dd qqdS )a  
    Append leaves (taken from @old_line) to @new_line, making sure to fix the
    underlying Node structure where appropriate.

    All of the leaves in @leaves are duplicated. The duplicates are then
    appended to @new_line and used to replace their originals in the underlying
    Node structure. Any comments attached to the old leaves are reattached to
    the new leaves.

    Pre-conditions:
        set(@leaves) is a subset of set(@old_line.leaves).
    rL   TN)r&   r;   r=   r!   rG   r   )r  r  r/   r6   old_leafnew_leafcomment_leafrJ   rJ   rK   append_leaves
  s   
r  r   )line_strliner+   r  c                C   s
  |st | }tj|vrt||jkod|vo|   S |  r!dS d|vr,t||jkS |d^}}}t||jksCt||jkrEdS g }d}g }tj}	t	| j
D ]\}
}|	tjkrd}|jd t|krm|d n|jd t|k rz| }|dur|dur|j|jd kr|j}	|dkr dS |j|	kr|jtjkrdg}||7 }|j|v r|
t| j
d ks||j  d7  < |	tjkrt|	|j}	t|rt|dkr dS |}|}t||v r|| |jdu rn	|j}t||v sqSt|dkrdS tdd |D S )	a  For non-multiline strings, return True if `line` is no longer than `line_length`.
    For multiline strings, looks at the context around `line` to determine
    if it should be inlined or split up.
    Uses the provided `line_str` rendering, if any, otherwise computes a new one.
    r   FNrQ   r   Tc                 s   s    | ]}|d kV  qdS r   rJ   )rb   valrJ   rJ   rK   r   x  r   z'is_line_short_enough.<locals>.<genexpr>)line_to_stringr   multiline_string_handlingr$   line_lengthr   splitmathinfr   r/   bracket_depthrR   rG   r   r;   r%   r   r   r  r   r   r   all)r  r+   r  r   rc   lastcommasmultiline_stringmultiline_string_contextsmax_level_to_updateir5   	had_commaignore_ctxsctxrJ   rJ   rK   is_line_short_enough"  sl   




r+  c                 C   s   | j }t|dk rdS |d jtjkrr|d jtjkrrd}d}|d }|ddd D ]G}|jtv r>|jtvr9 dS |d7 }n(|jtjkrI|d7 }n|jtjkr^|jtjks]|jtv s] dS n|jtvrf dS |dkrq|dkrq dS q*dS )	zReturn False if the line cannot be split *for sure*.

    This is not an exhaustive search but a cheap heuristic that we can use to
    avoid some unfortunate formattings (mostly around wrapping unsplittable code
    in unnecessary parentheses).
    rs   Fr   rQ   r   r9   NT)	r/   rR   r;   r%   rx   r`   r   r   rY   )r  r/   
call_count	dot_countr   r5   rJ   rJ   rK   can_be_split{  s0    




r.  rhsr  c                 C   s  | j }d}t|jD ]'}|r||ju rd}|jtkr|s dS |s1|jtv r1|j|jv r1|jr1|}q
|j}|j	s:dS |
 }||}|dkrIdS |dkrW|tkrW| jjrWdS |tkr]dS t|jdkshJ d|jd }|jd }	|jtv r|	jtvrt|||drdS |jd	 }
|jd
 }|jtjks|jtjks|jtjkr|jr|jjtjkr|
jtv rdS t|rdS t|||drdS dS )a  Does `rhs.body` have a shape safe to reformat without optional parens around it?

    Returns True for only a subset of potentially nice looking formattings but
    the point is to not return false positives that end up producing lines that
    are too long.
    NFTrQ   rs   zStranded delimiterr   )r   r  r9   r   )r"  r  )r   r   r/   r   r;   r   r   r=   r1   
delimitersmax_delimiter_prioritydelimiter_count_with_priorityr   r   r   r   rR   r   _can_omit_opening_parenr%   rw   r   r   r   r"   r   r   _can_omit_closing_paren)r/  r  r  r   r5   btmax_prioritydelimiter_countr   secondpenultimater"  rJ   rJ   rK   can_omit_invisible_parens  s`   







r:  r   c                C   s   d}d| j  }d}|  D ]%\}}}|jtv r|j|u rd}|r2||7 }||kr+ dS |jtv r2d}qt| j|d kr>dS dS ) See `can_omit_invisible_parens`.Frr   r   TrQ   )r,   r   r;   r   r   r   rR   r/   )r  r   r  	remainderr   _indexr5   leaf_lengthrJ   rJ   rK   r3     s"   

r3  r"  c                C   sZ   d| j  }d}|  D ]\}}}||7 }||ju r#|s||kr" dS q|jtv r*d}qdS )r;  rr   FT)r,   r   r   r;   r   )r  r"  r  r   seen_other_bracketsr=  r5   r>  rJ   rJ   rK   r4    s   


r4  c                 C   s   t | dS )zmReturns the string representation of @line.

    WARNING: This is known to be computationally expensive.
    r   )r   r>   )r  rJ   rJ   rK   r  *  s   r  r   )Cr   r  dataclassesr   r   typingr   r   r   r   r   r	   r
   r   r   r   black.bracketsr   r   r   
black.moder   r   black.nodesr   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   black.stringsr$   blib2to3.pgen2r%   blib2to3.pytreer&   r'   r(   r   r   r   LNr)   r   r   r   r   r<   r  r   r+  r.  r:  r3  r4  r  rJ   rJ   rJ   rK   <module>   sx    0L   K
 "g	

Y$
a