ok
Direktori : /proc/self/root/proc/self/root/proc/self/root/lib/python2.7/site-packages/iniparse/ |
Current File : //proc/self/root/proc/self/root/proc/self/root/lib/python2.7/site-packages/iniparse/compat.pyc |
� ���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 &