UnboundMethod
public python v1 · immutableclass Map: def __init__(self, arg1, arg2, arg3): #Some stuff here @classmethod def from_xml(cls, xml): #Parses xml and returns new instance, without being bound a, b, c = parse_xml(xml) return cls(a,b,c)