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

def configobj::ConfigObj::_handle_comment (   self,
) [private]

Deal with a comment.

Definition at line 1880 of file configobj.py.

01880                                       :
        """Deal with a comment."""
        if not comment:
            return ''
        start = self.indent_type
        if not comment.startswith('#'):
            start += self._a_to_u(' # ')
        return (start + comment)

    # Public methods

    def write(self, outfile=None, section=None):

Generated by  Doxygen 1.6.0   Back to index