MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __isub__

Function __isub__

lib/sqlalchemy/orm/collections.py:1420–1429  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1418 return difference_update
1419
1420 def __isub__(fn):
1421 def __isub__(self, value):
1422 if not _set_binops_check_strict(self, value):
1423 return NotImplemented
1424 for item in value:
1425 self.discard(item)
1426 return self
1427
1428 _tidy(__isub__)
1429 return __isub__
1430
1431 def intersection_update(fn):
1432 def intersection_update(self, other):

Callers

nothing calls this directly

Calls 3

_set_binops_check_strictFunction · 0.85
_tidyFunction · 0.85
discardMethod · 0.45

Tested by

no test coverage detected