MCPcopy
hub / github.com/python-trio/trio / getsockopt

Method getsockopt

src/trio/testing/_fake_net.py:419–419  ·  view source on GitHub ↗
(self, /, level: int, optname: int)

Source from the content-addressed store, hash-verified

417
418 @overload
419 def getsockopt(self, /, level: int, optname: int) -> int: ...
420
421 @overload
422 def getsockopt(self, /, level: int, optname: int, buflen: int) -> bytes: ...

Callers

nothing calls this directly

Calls 1

_check_closedMethod · 0.95

Tested by

no test coverage detected