remove method

On this page

remove

Removes the first occurrence of a specific template from the TemplateCollection.

def remove(self, template):
    ...
Parameter Type Description
template Template The template to remove from the TemplateCollection.

Returns: bool: True if template is successfully removed; otherwise, False.

Aliases

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

Alias Accepts
remove_template remove_template(template)

See Also

On this page