- def __init__(self,*, out, lhs, rhs, row):
- self.out = out; "index of the item to output to"
- self.lhs = lhs; "index of item the left-hand-side input comes from"
- self.rhs = rhs; "index of item the right-hand-side input comes from"
- self.row = row; "row in the prefix-sum diagram"
+ __slots__ = "out", "lhs", "rhs", "row"
+
+ def __init__(self, out, lhs, rhs, row):
+ self.out = out
+ """index of the item to output to"""
+
+ self.lhs = lhs
+ """index of the item the left-hand-side input comes from"""
+
+ self.rhs = rhs
+ """index of the item the right-hand-side input comes from"""
+
+ self.row = row
+ """row in the prefix-sum diagram"""