mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
remove incorrect is instance check in children_changed
This commit is contained in:
parent
c89ec19fca
commit
cc1ba8b1f7
@ -45,7 +45,7 @@ class ContainerWidget(DOMWidget):
|
||||
http://www.peterbe.com/plog/uniqifiers-benchmark
|
||||
which provides the inspiration for using this implementation. Below
|
||||
I've implemented the `f5` algorithm using Python comprehensions."""
|
||||
if new is not None and isinstance(new, list):
|
||||
if new is not None:
|
||||
seen = {}
|
||||
def add_item(i):
|
||||
seen[i.model_id] = True
|
||||
|
Loading…
Reference in New Issue
Block a user