MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __isub__

Function __isub__

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

Source from the content-addressed store, hash-verified

1478 return difference_update
1479
1480 def __isub__(fn):
1481 def __isub__(self, value):
1482 if not _set_binops_check_strict(self, value):
1483 return NotImplemented
1484 for item in value:
1485 self.discard(item)
1486 return self
1487
1488 _tidy(__isub__)
1489 return __isub__
1490
1491 def intersection_update(fn):
1492 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