<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
À<×e  ã               @   s†   yd Z ddlZW n4 ek
rD   dZ ddlZddlmZ ddlZY nX G dd„ dejƒZe rpG dd„ dejƒZnG d	d„ dejƒZdS )
Té    NF)ÚStringIOc               @   s   e Zd ZdS )ÚErrorN)Ú__name__Ú
__module__Ú__qualname__© r   r   ú#/usr/lib/python3.6/config_parser.pyr      s   r   c               @   s   e Zd ZdS )ÚConfigParserN)r   r   r   r   r   r   r   r	      s   r	   c               @   s4   e Zd Zddd„Zddd„Zddd	„Zddd„ZdS )r	   NFc             O   s”   dj t|ƒƒ}tjd| d | d | d ƒ| _tjd| d | d | d ƒ| _tjj| f|ž|Ž |ppg | _	tjdd	j t| j	ƒƒ ƒ| _
d S )
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ÚcompileZOPTCREZ	OPTCRE_NVÚcpr	   Ú__init__Z_inline_comment_prefixesÚ_re)ÚselfZ
delimitersZinline_comment_prefixesÚstrictÚargsÚkwargsZdelimsr   r   r   r      s      
zConfigParser.__init__ú<string>c             C   s   t |ƒ}| j||ƒ d S )N)r   Ú	read_file)r   ÚstringÚsourceZsfiler   r   r   Úread_string*   s    zConfigParser.read_stringc             C   sb   t jj| ||ƒ | jg}|j| jjƒ ƒ x4|D ],}x&|jƒ D ]\}}| jj	d|ƒ||< q<W q.W d S )Nr
   )
r   r	   ÚreadfpZ	_defaultsÚextendZ	_sectionsÚvaluesÚitemsr   Úsub)r   ÚfpÚfilenameZall_sectionsZoptionsÚnameÚvalr   r   r   r   .   s    
zConfigParser.readfpú<???>c             C   s   | j ||ƒ d S )N)r   )r   Úfr   r   r   r   r   7   s    zConfigParser.read_file)NNF)r   )N)r$   )r   r   r   r   r   r   r   r   r   r   r   r	      s   


	)Zpython3Zconfigparserr   ÚImportErrorr	   r   r   r   r   r   r   r   Ú<module>   s   