Module ImportFrom alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A UnionFind UnionFind N/A copy N/A unittest TestUnionFind N/A N/A unittest TestCase N/A N/A uf N/A UnionFind N/A N/A N/A uf get_or_insert 1 N/A N/A N/A uf get_or_insert 10 N/A N/A N/A uf get_or_insert 2 N/A N/A N/A uf get_or_insert 5 test_insert_or_get N/A N/A self N/A N/A N/A uf N/A N/A copy deepcopy N/A self uf N/A N/A N/A self assertIn 1 uf N/A N/A N/A self assertIn 10 uf N/A N/A N/A self assertIn 2 uf N/A N/A N/A self assertIn 5 uf N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 1 1 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 5 5 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 10 10 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 2 2 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 30 30 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 52 52 N/A test_get N/A N/A self N/A N/A N/A uf N/A self uf N/A N/A N/A self assertEqual N/A uf N/A 1 1 N/A N/A N/A self assertEqual N/A uf N/A 10 10 N/A test_get_error N/A N/A self N/A N/A N/A N/A N/A self assertRaises Exception N/A N/A _ N/A N/A self uf N/A 52 N/A N/A N/A self assertRaises Exception N/A N/A _ N/A N/A self uf N/A 30 N/A test_union N/A N/A self N/A N/A N/A uf N/A N/A copy deepcopy N/A self uf N/A N/A N/A uf union 1 10 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 1 N/A N/A uf get_or_insert 10 N/A N/A N/A uf union 2 5 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 2 N/A N/A uf get_or_insert 5 N/A N/A N/A uf union 2 1 N/A N/A N/A self assertEqual N/A N/A uf get_or_insert 10 N/A N/A uf get_or_insert 5 N/A N/A