MCPcopy Create free account
hub / github.com/apache/fory / __exit__

Method __exit__

python/pyfory/lib/collection.py:179–185  ·  view source on GitHub ↗
(self, e, t, b)

Source from the content-addressed store, hash-verified

177 return self
178
179 def __exit__(self, e, t, b):
180 w = self.weakcontainer()
181 if w is not None:
182 s = w._iterating
183 s.remove(self)
184 if not s:
185 w._commit_removals()

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected