Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_052.py:58–60 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
56
print(
"Example 2"
)
57
class
PathInputData(InputData):
58
def
__init__(self, path):
59
super().__init__()
60
self.path = path
61
62
def
read(self):
63
with
open(self.path)
as
f:
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected