Lines Matching refs:def
16 def __init__(self, weakcontainer):
20 def __enter__(self):
26 def __exit__(self, e, t, b):
36 def __init__(self, data=None):
38 def _remove(item, selfref=ref(self)):
52 def _commit_removals(self):
58 def __iter__(self):
65 def __len__(self):
68 def __contains__(self, item):
75 def __reduce__(self):
81 def add(self, item):
86 def clear(self):
91 def copy(self):
94 def pop(self):
106 def remove(self, item):
111 def discard(self, item):
116 def update(self, other):
122 def __ior__(self, other):
126 def difference(self, other):
132 def difference_update(self, other):
134 def __isub__(self, other):
143 def intersection(self, other):
147 def intersection_update(self, other):
149 def __iand__(self, other):
155 def issubset(self, other):
159 def __lt__(self, other):
162 def issuperset(self, other):
166 def __gt__(self, other):
169 def __eq__(self, other):
174 def symmetric_difference(self, other):
180 def symmetric_difference_update(self, other):
182 def __ixor__(self, other):
191 def union(self, other):
195 def isdisjoint(self, other):