Re: [libvirt] [PATCH 12/22] apibuild: Simplify uniq function

2018-03-19 Thread Daniel P . Berrangé
On Sat, Mar 17, 2018 at 02:23:30PM +, Radostin Stoyanov wrote: > 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 >

[libvirt] [PATCH 12/22] apibuild: Simplify uniq function

2018-03-17 Thread Radostin Stoyanov
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 --- docs/apibuild.py | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)