MCPcopy Create free account
hub / github.com/rthalley/dnspython / __enter__

Method __enter__

dns/btree.py:600–602  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

598 self.parking_key = None
599
600 def __enter__(self):
601 self.btree.register_cursor(self)
602 return self
603
604 def __exit__(self, exc_type, exc_value, traceback):
605 self.btree.deregister_cursor(self)

Callers

nothing calls this directly

Calls 1

register_cursorMethod · 0.80

Tested by

no test coverage detected