(self)
return ['.' + suffix for suffix in name.split('.')[1:]]
A list of the final component's suffixes, if any.

        These include the leading periods. For example: ['.tar', '.gz']
A list of the final component's suffixes, if any.
A list of the final component s suffixes if any .
def suffixes(self):
        """
        A list of the final component's suffixes, if any.

        These include the leading periods. For example: ['.tar', '.gz']
        """
        name = self.name
        if name.endswith('.'):
            return []
        name = name.lstrip('.')
        return ['.' + suffix for suffix in name.split('.')[1:]]
def suffixes ( self ) : name = self . name if name . endswith ( '.' ) : return [ ] name = name . lstrip ( '.' ) return [ '.' + suffix for suffix in name . split ( '.' ) [ 1 : ] ]