def __getitem__(self, name):
        """Access a section via a dict handler"""
        if name not in simpleconfigparser.__dict__:
            if name not in self.sections():
                self.add_section(name)

            return simpleconfigparser.Section(name, self)

        return None
def __getitem__ ( self , name ) : if name not in simpleconfigparser . __dict__ : if name not in self . sections ( ) : self . add_section ( name ) return simpleconfigparser . Section ( name , self ) return None
Access a section via a dict handler