Skip to content

Commit

Permalink
Add todo for queue iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 29, 2020
1 parent 0b8776b commit 29f7dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ def toJson(self) -> dict:
def __repr__(self) -> str:
return self.queue + str(self.number)

# TODO: Make Queue iterable using __iter__. See: https://thispointer.com/python-how-to-make-a-class-iterable-create-iterator-class-for-it/
class Queue:
"""A collection of items.
Expand Down

0 comments on commit 29f7dab

Please sign in to comment.