Skip to content

Commit 50dbf17

Browse files
authored
Update brace-expansion.py
1 parent 5ee0b36 commit 50dbf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/brace-expansion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def expand(self, S): # nested is fine
1212
:rtype: List[str]
1313
"""
1414
def form_words(options):
15-
words = list(map("".join, itertools.product(*options)))
15+
words = map("".join, itertools.product(*options))
1616
words.sort()
1717
return words
1818

0 commit comments

Comments
 (0)