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

Method __init__

example_code/item_111.py:52–53  ·  view source on GitHub ↗
(self, host, port)

Source from the content-addressed store, hash-verified

50print("Example 1")
51class DatabaseConnection:
52 def __init__(self, host, port):
53 pass
54
55
56class DatabaseConnectionError(Exception):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected