format code with autopep8
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 19 Aug 2022 02:31:14 +0000 (19:31 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 19 Aug 2022 02:31:14 +0000 (19:31 -0700)
added empty lines to avoid confusion of which variable each docstring goes with

src/nmutil/prefix_sum.py

index 51e28ac6f7251d2f6b9084999d8055a6a31fa3c7..23eca36e2bb748c296c5a7ca88b9fa578258c653 100644 (file)
@@ -19,10 +19,17 @@ class Op:
     __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"
+        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"
 
 
 def prefix_sum_ops(item_count, *, work_efficient=False):