(cls, elementstr)
return cls(ival, params)
Construct an instance from a string of the form 'token;key=val'.
Construct an instance from a string of the form 'token;key=val'.
Construct an instance from a string of the form token ; key = val .
def from_str(cls, elementstr):
        """Construct an instance from a string of the form 'token;key=val'."""
        ival, params = cls.parse(elementstr)
        return cls(ival, params)
def from_str ( cls , elementstr ) : ival , params = cls . parse ( elementstr ) return cls ( ival , params )