def clear_extensions(self, group=None):
        """Clear all previously registered extensions."""

        if group is None:
            ComponentRegistry._registered_extensions = {}
            return

        if group in self._registered_extensions:
            self._registered_extensions[group] = []
def clear_extensions ( self , group = None ) : if group is None : ComponentRegistry . _registered_extensions = { } return if group in self . _registered_extensions : self . _registered_extensions [ group ] = [ ]
Clear all previously registered extensions.