forked from M-Labs/artiq
added __iter__ and __len__ to ScanObject base class
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
parent
2671c271d4
commit
a0cea3a011
@ -32,6 +32,12 @@ __all__ = ["ScanObject",
|
||||
|
||||
|
||||
class ScanObject:
|
||||
def __iter__(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def __len__(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def describe(self):
|
||||
raise NotImplementedError
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user