1
0
forked from VimPlug/jedi

unite returns a set now, this simplifies all the set(unite( calls.

This commit is contained in:
Dave Halter
2015-11-28 17:52:39 +01:00
parent 9259a432b7
commit 55615fb3c1
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -157,4 +157,4 @@ def splitlines(string):
def unite(iterable):
"""Turns a two dimensional array into a one dimensional."""
return list(chain.from_iterable(iterable))
return set(chain.from_iterable(iterable))