Adds a :class:`Pattern` to the :class:`PatternSet`

def append(self, pattern):
        """Adds a :class:`Pattern` to the :class:`PatternSet`"""
        assert isinstance(pattern, Pattern)
        self.patterns.append(pattern)
        if self._all_files is not None:
            self._all_files = self._all_files or pattern.all_files()