Fix the comment to match the code.
Looking at the impl, it only accepts sets.
This commit is contained in:
parent
6970e21d29
commit
ee4a21c5c8
|
@ -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