Open mrmechko opened 5 years ago
>>> ont.items() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Trips' object has no attribute 'items'
[x for x in ont.__iter__()] does work. Apparently I return an iterator but that's not how __iter__() is supposed to work?
[x for x in ont.__iter__()]
__iter__()