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

Method __sub__

lib/sqlalchemy/ext/associationproxy.py:1953–1956  ·  view source on GitHub ↗
(self, s: AbstractSet[Any])

Source from the content-addressed store, hash-verified

1951 return set(self).difference(*s)
1952
1953 def __sub__(self, s: AbstractSet[Any]) -> MutableSet[_T]:
1954 if not collections._set_binops_check_strict(self, s):
1955 return NotImplemented
1956 return self.difference(s)
1957
1958 def difference_update(self, *s: Iterable[Any]) -> None:
1959 for other in s:

Callers

nothing calls this directly

Calls 1

differenceMethod · 0.95

Tested by

no test coverage detected