MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / pop

Function pop

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

Source from the content-addressed store, hash-verified

1188 return __iadd__
1189
1190 def pop(fn):
1191 def pop(self, index=-1):
1192 __before_pop(self)
1193 item = fn(self, index)
1194 __del(self, item, None, index)
1195 return item
1196
1197 _tidy(pop)
1198 return pop
1199
1200 def clear(fn):
1201 def clear(self, index=-1):

Callers

nothing calls this directly

Calls 3

__before_popFunction · 0.85
__delFunction · 0.85
_tidyFunction · 0.85

Tested by

no test coverage detected