remove method

On this page

remove

Removes the first occurrence of a specific element from the collection.

def remove(self, item):
    ...
Parameter Type Description
item DateFormat The item to remove from the collection.

Returns: bool: True if item was successfully removed from the collection; otherwise False. Also returns False if item is not found in the collection.

Aliases

These names call remove too, limited to the overloads listed.

Alias Accepts
remove_date_format remove_date_format(item)

See Also

On this page