def __str__(self):
    'String method for the class\n\n        The method creats and returns\n        the string representation of the\n        keyword.\n\n        Returns\n        -------\n        obj: str\n            string representation of the object\n        '
    rstring = ((self.keyword + ' ') + str(self.keyvalue))
    if (self.comment is not None):
        rstring = ((rstring + ' ; ') + self.comment)
    rstring += '\n'
    return rstring
String method for the class

The method creats and returns
the string representation of the
keyword.

Returns
-------
obj: str
    string representation of the object
def __str__(self):
    'String method for the class\n\n        The method creats and returns\n        the string representation of the\n        keyword.\n\n        Returns\n        -------\n        obj: str\n            string representation of the object\n        '
    rstring = ((self.keyword + ' ') + str(self.keyvalue))
    if (self.comment is not None):
        rstring = ((rstring + ' ; ') + self.comment)
    rstring += '\n'
    return rstring