Fix the comment to match the code. (#238)

Looking at the impl, it only accepts sets.
This commit is contained in:
Thomas Van Lenten 2020-03-19 12:40:56 -04:00 committed by GitHub
parent 6970e21d29
commit 2d620ba1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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]))