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

Function difference_update

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

Source from the content-addressed store, hash-verified

1410 return __ior__
1411
1412 def difference_update(fn):
1413 def difference_update(self, value):
1414 for item in value:
1415 self.discard(item)
1416
1417 _tidy(difference_update)
1418 return difference_update
1419
1420 def __isub__(fn):
1421 def __isub__(self, value):

Callers

nothing calls this directly

Calls 2

_tidyFunction · 0.85
discardMethod · 0.45

Tested by

no test coverage detected