MCPcopy Create free account
hub / github.com/bpython/bpython / __exit__

Method __exit__

bpython/curtsiesfrontend/_internal.py:35–42  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc_val: BaseException | None,
        exc_tb: TracebackType | None,
    )

Source from the content-addressed store, hash-verified

33 pydoc.pager = self
34
35 def __exit__(
36 self,
37 exc_type: type[BaseException] | None,
38 exc_val: BaseException | None,
39 exc_tb: TracebackType | None,
40 ) -> Literal[False]:
41 pydoc.pager = self._orig_pager
42 return False
43
44 def __call__(self, text):
45 return None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected