Fix: doctest over sets
This commit is contained in:
parent
67158c0077
commit
d94beef79a
@ -81,8 +81,8 @@ def extract_rv(leafs):
|
||||
|
||||
:example:
|
||||
>>> leafs = ["a", "a*k"]
|
||||
>>> list(extract_rv(leafs))
|
||||
['a', 'k']
|
||||
>>> extract_rv(leafs) == {'a', 'k'}
|
||||
True
|
||||
"""
|
||||
rd_values = set()
|
||||
for leaf in leafs:
|
||||
|
Loading…
Reference in New Issue
Block a user