Use a set (unordered collections of unique elements) [1] to remove
repeated elements in a list.
1:
https://docs.python.org/3/tutorial/datastructures.html#sets
Signed-off-by: Radostin Stoyanov <rstoyanov1(a)gmail.com>
---
docs/apibuild.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Regards,
Daniel
--
|: