<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_wildcard(names, pattern):
 """ Return a tuple of strings that match a shell-style wildcard pattern. """

    return tuple(name for name in names
                 if fnmatch.fnmatch(name, pattern))