src/uvm/base/uvm_queue.py
def delete(self, index=-1):
        """
        Function: delete

        Removes the item at the given `index` from the queue; if `index` is
        not provided, the entire contents of the queue are deleted.
        Args:
            index:
        """
        if index >= self.size() or index < -1:
            uvm_report_warning("QUEUEDEL",
                "delete: given index out of range for queue of size {}. Ignoring delete request"
                .format(self.size()))
            return
        if index == -1:
            self.queue = list()
        else:
            self.queue.pop(index)

        Function: delete

        Removes the item at the given `index` from the queue; if `index` is
        not provided, the entire contents of the queue are deleted.
        Args:
            index:
        
delete
Removes the item at the given `index` from the queue; if `index` is
not provided, the entire contents of the queue are deleted.
delete Removes the item at the given ` index ` from the queue ; if ` index ` is not provided the entire contents of the queue are deleted .
def delete(self, index=-1):
        if index >= self.size() or index < -1:
            uvm_report_warning("QUEUEDEL",
                "delete: given index out of range for queue of size {}. Ignoring delete request"
                .format(self.size()))
            return
        if index == -1:
            self.queue = list()
        else:
            self.queue.pop(index)
def delete ( self , index = - 1 ) : if index >= self . size ( ) or index < - 1 : uvm_report_warning ( "QUEUEDEL" , "delete: given index out of range for queue of size {}. Ignoring delete request" . format ( self . size ( ) ) ) return if index == - 1 : self . queue = list ( ) else : self . queue . pop ( index )
Function: delete
Removes the item at the given `index` from the queue; if `index` is
not provided, the entire contents of the queue are deleted.
Function : delete Removes the item at the given ` index ` from the queue ; if ` index ` is not provided the entire contents of the queue are deleted .
"""
        Function: delete

        Removes the item at the given `index` from the queue; if `index` is
        not provided, the entire contents of the queue are deleted.
        Args:
            index:
        """
self
index
None