Sindbad~EG File Manager
3
�<�e�@s�ydZddlZWn4ek
rDdZddlZddlmZddlZYnXGdd�dej�ZerpGdd�dej�ZnGd d�dej�ZdS)
T�NF)�StringIOc@seZdZdS)�ErrorN)�__name__�
__module__�__qualname__�rr�#/usr/lib/python3.6/config_parser.pyrsrc@seZdZdS)�ConfigParserN)rrrrrrrr sr c@s4eZdZd
dd�Zddd�Zddd �Zddd�ZdS)r NFcOs�djt|��}tjd|d|d|d�|_tjd|d|d|d�|_tjj|f|�|�|ppg|_ tjdd jt|j ���|_
dS)
N�z
(?P<option>[^z\s][^z]*)\s*(?P<vi>[z])\s*(?P<value>.*)$z]*)\s*(?:(?P<vi>[z])\s*(?P<value>.*))?$z \s+(%s).*z)|()�join�list�re�compileZOPTCREZ OPTCRE_NV�cpr �__init__Z_inline_comment_prefixes�_re)�selfZ
delimitersZinline_comment_prefixes�strict�args�kwargsZdelimsrrrrs
zConfigParser.__init__�<string>cCst|�}|j||�dS)N)r� read_file)r�string�sourceZsfilerrr�read_string*szConfigParser.read_stringcCsbtjj|||�|jg}|j|jj��x4|D],}x&|j�D]\}}|jj d|�||<q<Wq.WdS)Nr
)
rr �readfpZ _defaults�extendZ _sections�values�itemsr�sub)r�fp�filenameZall_sectionsZoptions�name�valrrrr.s
zConfigParser.readfp�<???>cCs|j||�dS)N)r)r�frrrrr7szConfigParser.read_file)NNF)r)N)r$)rrrrrrrrrrrr s
)Zpython3Zconfigparserr�ImportErrorr rr
rrrrr�<module>s
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists