MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / difference_update

Method difference_update

lib/sqlalchemy/util/_collections_cy.py:251–253  ·  view source on GitHub ↗
(self, *other: Iterable[Hashable])

Source from the content-addressed store, hash-verified

249
250 # @cython.ccall # cdef function cannot have star argument
251 def difference_update(self, *other: Iterable[Hashable]) -> None:
252 set.difference_update(self, *other)
253 self._list = [a for a in self._list if a in self]
254
255 def __isub__(self, other: AbstractSet[Hashable]) -> OrderedSet[_T]:
256 self.difference_update(other)

Callers 4

__isub__Method · 0.95
sort_as_subsetsFunction · 0.45
find_cyclesFunction · 0.45

Calls

no outgoing calls

Tested by 1