Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
lib
/
python2.7
/
site-packages
/
iniparse
[ HOME ]
Exec
Submit
File Name : compat.pyo
� ���Kc @ s� d Z d d l Z d d l m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z m Z m Z m Z d d l Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s( Compatibility interfaces for ConfigParser Interfaces of ConfigParser, RawConfigParser and SafeConfigParser should be completely identical to the Python standard library versions. Tested with the unit tests included with Python-2.3.4 The underlying INIConfig object can be accessed as cfg.data i����N( t DuplicateSectionErrort NoSectionErrort NoOptionErrort InterpolationMissingOptionErrort InterpolationDepthErrort InterpolationSyntaxErrort DEFAULTSECTt MAX_INTERPOLATION_DEPTH( t Errort InterpolationErrort MissingSectionHeaderErrort ParsingErrort RawConfigParserc B s� e Z d e d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z d d � Z d � Z d � Z d � Z i e d 6e d 6e d 6e d 6e d 6e d 6e d 6e d 6Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s: | t k r t d � � n t j d | d | � | _ d S( Ns Custom dict types not supportedt defaultst optionxformsource( t dictt ValueErrort init INIConfigt data( t selfR t dict_type( ( s3 /usr/lib/python2.7/site-packages/iniparse/compat.pyt __init__ s c C s | j � S( N( t lower( R t optionstr( ( s3 /usr/lib/python2.7/site-packages/iniparse/compat.pyt optionxform# s c C s= i } | j j } x$ | j D] } | j | � | | <q W| S( N( R t _defaultst _optionst _compat_get( R t dt secobjt name( ( s3 /usr/lib/python2.7/site-packages/iniparse/compat.pyR &