2
0
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:
Leon Riesebos 2021-04-20 17:40:12 -04:00 committed by Sébastien Bourdeauducq
parent 2671c271d4
commit a0cea3a011

View File

@ -32,6 +32,12 @@ __all__ = ["ScanObject",
class ScanObject:
def __iter__(self):
raise NotImplementedError
def __len__(self):
raise NotImplementedError
def describe(self):
raise NotImplementedError