MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __sub__

Method __sub__

lib/sqlalchemy/util/_collections_cy.py:224–225  ·  view source on GitHub ↗
(self, other: AbstractSet[Hashable])

Source from the content-addressed store, hash-verified

222 return self._from_list([a for a in self._list if a in other_set])
223
224 def __sub__(self, other: AbstractSet[Hashable]) -> OrderedSet[_T]:
225 return self.difference(other)
226
227 # @cython.ccall # cdef function cannot have star argument
228 def intersection_update(self, *other: Iterable[Hashable]) -> None:

Callers

nothing calls this directly

Calls 1

differenceMethod · 0.95

Tested by

no test coverage detected