Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LabPy/lantz
/ __getattr__
Method
__getattr__
lantz/drivers/labjack/_internal/u12.py:282–287 ·
view source on GitHub ↗
(self, label)
Source
from the content-addressed store, hash-verified
280
return
result
281
282
def
__getattr__(self, label):
283
try
:
284
i = self.labels.index(label)
285
return
self.rawBits[i]
286
except
ValueError:
287
raise
AttributeError(label)
288
289
def
__setattr__(self, label, value):
290
try
:
Callers
nothing calls this directly
Calls
1
index
Method · 0.80
Tested by
no test coverage detected