I'm sick of typing
class A:
def __init__(self, x, y, z):
self.x,self.y,self.z = x,y,z
It just feel like redundant code. Is there a way to say "these variables that I pass in will become fields with the appropriate names (i.e. the same name as these variable names) In one line?