Draft: Eliminate redundant assignment to self (#22006)
* Draft: Eliminate redundant assignment to self * Removed confusing comment. --------- Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
This commit is contained in:
@@ -338,8 +338,6 @@ def offsetWire(wire, dvec, bind=False, occ=False,
|
||||
|
||||
if not isinstance(basewireOffset, list):
|
||||
basewireOffset = [basewireOffset]
|
||||
else:
|
||||
basewireOffset = basewireOffset # for backward compatibility
|
||||
|
||||
for i in range(len(edges)):
|
||||
# make a copy so it do not reverse the self.baseWires edges
|
||||
|
||||
Reference in New Issue
Block a user