forked from VimPlug/jedi
unite returns a set now, this simplifies all the set(unite( calls.
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user