From effeb28e5848392adddcdad1f6e7a098f2a44c9c Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 18 Aug 2022 19:31:14 -0700 Subject: [PATCH] format code with autopep8 added empty lines to avoid confusion of which variable each docstring goes with --- src/nmutil/prefix_sum.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/nmutil/prefix_sum.py b/src/nmutil/prefix_sum.py index 51e28ac..23eca36 100644 --- a/src/nmutil/prefix_sum.py +++ b/src/nmutil/prefix_sum.py @@ -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): -- 2.30.2