Fix the comment to match the code. (#238)
Looking at the impl, it only accepts sets.
This commit is contained in:
parent
6970e21d29
commit
2d620ba1f8
|
@ -182,10 +182,10 @@ def _union(*args):
|
|||
"""Returns the union of several sets.
|
||||
|
||||
Args:
|
||||
*args: An arbitrary number of sets or lists.
|
||||
*args: An arbitrary number of sets.
|
||||
|
||||
Returns:
|
||||
The set union of all sets or lists in `*args`.
|
||||
The set union of all sets in `*args`.
|
||||
"""
|
||||
return struct(_values = dicts.add(*[s._values for s in args]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue