Logo Search packages:      
Sourcecode: feed2omb version File versions  Download package

def configobj::Section::clear (   self )
A version of clear that also affects scalars/sections
Also clears comments and configspec.

Leaves other attributes alone :
    depth/main/parent are not affected

Definition at line 705 of file configobj.py.

                   :
        """
        A version of clear that also affects scalars/sections
        Also clears comments and configspec.
        
        Leaves other attributes alone :
            depth/main/parent are not affected
        """
        dict.clear(self)
        self.scalars = []
        self.sections = []
        self.comments = {}
        self.inline_comments = {}
        self.configspec = None



Generated by  Doxygen 1.6.0   Back to index