A fake Queue implementing put and get.

Instance Variable items A lit of items placed by put but not yet retrieved by get. (type: list)
Method __init__ Create a FakeQueue.
Method put Put an item into the queue for later retrieval by FakeQueue.get.
Method get Get an item.
items =
A lit of items placed by put but not yet retrieved by get. (type: list)
def __init__(self):

Create a FakeQueue.

def put(self, item):

Put an item into the queue for later retrieval by FakeQueue.get.

Parametersitemany object
def get(self):

Get an item.

Returnsan item previously put by put.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.