MCPcopy Index your code
hub / github.com/python/cpython / union

Method union

Lib/_weakrefset.py:137–138  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

135 return self
136
137 def union(self, other):
138 return self.__class__(e for s in (self, other) for e in s)
139 __or__ = union
140
141 def isdisjoint(self, other):

Callers 11

hashlib.pyFile · 0.80
__len__Method · 0.80
mock_openFunction · 0.80
test_unionMethod · 0.80
test_orMethod · 0.80
_test_set_comparisonsMethod · 0.80
test_unionMethod · 0.80
test_orMethod · 0.80
test_unionMethod · 0.80
__init__Method · 0.80

Calls 1

__class__Method · 0.45

Tested by 6

test_unionMethod · 0.64
test_orMethod · 0.64
_test_set_comparisonsMethod · 0.64
test_unionMethod · 0.64
test_orMethod · 0.64
test_unionMethod · 0.64