Skip to content

Commit 5ba82c6

Browse files
committed
replace meaningless variable name with _
1 parent 97978ce commit 5ba82c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PathPlanning/BreadthFirstSearch/breadth_first_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def calc_obstacle_map(self, ox, oy):
178178
print("ywidth:", self.ywidth)
179179

180180
# obstacle map generation
181-
self.obmap = [[False for i in range(self.ywidth)]
182-
for i in range(self.xwidth)]
181+
self.obmap = [[False for _ in range(self.ywidth)]
182+
for _ in range(self.xwidth)]
183183
for ix in range(self.xwidth):
184184
x = self.calc_grid_position(ix, self.minx)
185185
for iy in range(self.ywidth):

0 commit comments

Comments
 (0)