
    6gh                     6    d dl Z  G d de j                        Zy)    Nc                   $    e Zd Zd Zd Zd Zd Zy)Parserc                 N    d|d<   t        j                  j                  | fi | y )NTallow_no_value)configparserRawConfigParser__init__)selfkwargss     V/var/www/enzed_healthcare/enzed_env/lib/python3.12/site-packages/pymysql/optionfile.pyr	   zParser.__init__   s&    #' $$--d=f=    c                 p    ddg}|D ],  }t        |      dk\  s|d   |d   cxk(  r|k(  s$n '|dd c S  |S )N'"   r      )len)r
   valuequotesquotes       r   __remove_quoteszParser.__remove_quotes	   sL    s 	#E5zQ58uRy#AE#AQr{"	# r   c                 B    |j                         j                  dd      S )N_-)lowerreplace)r
   keys     r   optionxformzParser.optionxform   s    yy{""3,,r   c                 f    t         j                  j                  | ||      }| j                  |      S )N)r   r   get_Parser__remove_quotes)r
   sectionoptionr   s       r   r!   z
Parser.get   s-    ,,00wG##E**r   N)__name__
__module____qualname__r	   r"   r   r!    r   r   r   r      s    >-+r   r   )r   r   r   r(   r   r   <module>r)      s    +\)) +r   