def METHOD_NAME(self, q):
    """Print Info about the Queue"""
    sendList = q.GetTasksWaitingToSend()
    rxList = q.GetTasksWaitingToReceive()
    # print("TxLen: %d, RxLen: %d" % (len(sendList), len(rxList)))
    maxCount = max(len(sendList), len(rxList))
    outputFmt = "%20s %4s %16s %16s"
    if maxCount == 0:
        print(outputFmt % (q.GetName(), q.GetQueueMessagesWaiting(), "", ""))
    else:
        for i in range(0, maxCount):
            txName = ""
            if i < len(sendList):
                tcbRef, val = sendList[i]
                tcb = TaskInspector(tcbRef)
                txName = tcb.GetName()
            rxName = ""
            if i < len(rxList):
                tcbRef, val = rxList[i]
                tcb = TaskInspector(tcbRef)
                rxName = tcb.GetName()
            if i == 0:
                print(
                    outputFmt
                    % (q.GetName(), q.GetQueueMessagesWaiting(), txName, rxName)
                )
            else:
                print(outputFmt % ("", "", txName, rxName))