def findAll(self, selfValue):
        '''Looks for all the non single values(str, int) *recursively* and returns a list of them

        Args:
            selfValue: A list of single, str, int. Normally just ``self.value``

        Returns:
            list: A list contains only non singles(str, int).
        '''
        resultList = []
        for element in selfValue:
            if isinstance(element, Single):
                resultList += element.findAll(element.value)
            else:
                resultList.append(element)
        return resultList
def findAll ( self , selfValue ) : resultList = [ ] for element in selfValue : if isinstance ( element , Single ) : resultList += element . findAll ( element . value ) else : resultList . append ( element ) return resultList
Looks for all the non single values(str, int) *recursively* and returns a list of them

        Args:
            selfValue: A list of single, str, int. Normally just ``self.value``

        Returns:
            list: A list contains only non singles(str, int).