MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __init__

Method __init__

example_code/item_076.py:55–57  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

53
54class Connection:
55 def __init__(self, connection):
56 self.connection = connection
57 self.file = connection.makefile("rb")
58
59 def send(self, command):
60 line = command + "\n"

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected