code: def filter_wildcard(names, pattern):
      
      return tuple(name for name in names
                   if fnmatch.fnmatch(name, pattern))
docs: Return a tuple of strings that match a shell-style wildcard pattern.