8]ai ^ d Z ddlmZ ddlmZmZ ddlmZmZm Z ddiZ
G d de Zd S )
zCFix UserDict.
Incomplete!
TODO: base this on fix_urllib perhaps?
)
fixer_base)Name
attr_chain)
alternates
build_pattern
FixImportsUserDictcollectionsc N e Zd ZdZdZeZdZd Z fdZ fdZ
fdZd Z xZ
S )FixUserdictT c P d t | j S )N|)joinr mapping)selfs p/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libfuturize/fixes/fix_UserDict.pyr zFixUserdict.build_pattern5 s xx
dl33444 c | | _ t t | d S N)r PATTERNsuperr compile_pattern)r __class__s r r zFixUserdict.compile_pattern8 s: ))++
j$//11111r c t t | j | }|r1d|vr+t fdt |d D rdS |S dS )Nbare_with_attrc 3 . K | ]} | V d S r ).0objmatchs r