Show More
@@ -45,7 +45,7 b' class ContainerWidget(DOMWidget):' | |||||
45 | http://www.peterbe.com/plog/uniqifiers-benchmark |
|
45 | http://www.peterbe.com/plog/uniqifiers-benchmark | |
46 | which provides the inspiration for using this implementation. Below |
|
46 | which provides the inspiration for using this implementation. Below | |
47 | I've implemented the `f5` algorithm using Python comprehensions.""" |
|
47 | I've implemented the `f5` algorithm using Python comprehensions.""" | |
48 |
if new is not None |
|
48 | if new is not None: | |
49 | seen = {} |
|
49 | seen = {} | |
50 | def add_item(i): |
|
50 | def add_item(i): | |
51 | seen[i.model_id] = True |
|
51 | seen[i.model_id] = True |
General Comments 0
You need to be logged in to leave comments.
Login now