isdisjointreturn true if two sets have null intersection issubsetreport whether another set contains this set issupersetreport whether this set contains another set popremove and return an arbitrary set element raises keyerror if the set is empty removeremove an element from setit must be member if the element is not memberraise keyerror symmetric_differencereturn the symmetric difference of two sets as new set ( all elements that are in exactly one of the sets symmetric_difference_updateupdate set with the symmetric difference of itself and another unionreturn the union of sets as new set ( all elements that are in either set updateupdate set with the union of itself and others data and other attributes defined here__hash__ none in [ ]signals[ typeerror traceback (most recent call lastin ---- signals[ typeerror'setobject does not support indexing in [ ]next(iter(signals)out[ ]'i_measin [ ]list(signals)[ out[ ]'i_measunpacking variables