MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / __init__

Method __init__

Solutions/8_6/server.py:32–33  ·  view source on GitHub ↗
(self, sock)

Source from the content-addressed store, hash-verified

30
31class GenSocket:
32 def __init__(self, sock):
33 self.sock = sock
34
35 def accept(self):
36 yield 'recv', self.sock

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected