Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 671fc20

Browse files
Remove redundant initialization
1 parent ba9dc72 commit 671fc20

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

csp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,6 @@ def parse_neighbors(neighbors, variables=[]):
372372
True
373373
"""
374374
dic = defaultdict(list)
375-
for var in variables:
376-
dic[var] = []
377375
specs = [spec.split(':') for spec in neighbors.split(';')]
378376
for (A, Aneighbors) in specs:
379377
A = A.strip()

0 commit comments

Comments
 (0)