mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
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:
|
class ScanObject:
|
||||||
|
def __iter__(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
def __len__(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
def describe(self):
|
def describe(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user