§
úÂcRuÂã óL — d Z ddlmZ ddlmZmZ G d„ dej ¦ « ZdS )ztFixer that adds parentheses where they are required
This converts ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``.é )Ú
fixer_base)ÚLParenÚRParenc ó — e Zd ZdZdZd„ ZdS )ÚFixParenTa
atom< ('[' | '(')
(listmaker< any
comp_for<
'for' NAME 'in'
target=testlist_safe< any (',' any)+ [',']
>
[any]
>
>
|
testlist_gexp< any
comp_for<
'for' NAME 'in'
target=testlist_safe< any (',' any)+ [',']
>
[any]
>
>)
(']' | ')') >
c óÆ — |d }t ¦ « }|j |_ d|_ | d|¦ « | t ¦ « ¦ « d S )NÚtargetÚ é )r ÚprefixÚinsert_childÚappend_childr )ÚselfÚnodeÚresultsr Úlparens ú>/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_paren.pyÚ transformzFixParen.transform% sY € ؘÔ"ˆå‘”ˆØœ
ˆŒ
؈Œ
Ø×Ò˜A˜vÑ&Ô&Ð&Ø×Ò�F™HœHÑ%Ô%Ð%Ð%Ð%ó N)Ú__name__Ú
__module__Ú__qualname__Ú
BM_compatibleÚPATTERNr © r r r r s/ € € € € € Ø€Mð€Gð,&ð