⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_paren.cpython-310.pyc
o bc @ s6 d Z ddlmZ ddlmZmZ G dd dejZdS )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)LParenRParenc @ s e Zd ZdZdZdd 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 C s8 |d }t }|j|_d|_|d| |t d S )Ntarget )r prefixinsert_childappend_childr )selfnoderesultsr lparen r ./usr/lib/python3.10/lib2to3/fixes/fix_paren.py transform% s zFixParen.transformN)__name__ __module____qualname__ BM_compatiblePATTERNr r r r r r s r N)__doc__r r fixer_utilr r BaseFixr r r r r
s