knittingpattern/Dumper/file.py
def _string(self):
        """:return: the string from a :class:`io.StringIO`"""
        file = StringIO()
        self.__dump_to_file(file)
        file.seek(0)
        return file.read()
def _string(self):
        """:return: the string from a :class:`io.StringIO`"""
        file = StringIO()
        self.__dump_to_file(file)
        file.seek(0)
        return file.read()
def _string ( self ) : file = StringIO ( ) self . __dump_to_file ( file ) file . seek ( 0 ) return file . read ( )
:return: the string from a :class:`io.StringIO`
: return : the string from a : class : io . StringIO