code: def _parse_file_spec(self, spec):
          '''
          Separate wildcard specs into more specs
          '''
          # separate wildcard specs into more specs
          if '*' in spec['file']:
              expanded_paths = _expand_paths(spec['file'])
              if not expanded_paths:
                  return []
              expanded_specs = []
              for p in expanded_paths:
                  _spec = copy.copy(spec)
                  _spec['file'] = p
                  expanded_specs.append(_spec)
              return expanded_specs
  
          else:
              return [specf _parse_file_spec(self, spec):
          '''
          Separate wildcard specs into more specs
          '''
          # separate wildcard specs into more specs
          if '*' in spec['file']:
              expanded_paths = _expand_paths(spec['file'])
              if not expanded_paths:
                  return []
              expanded_specs = []
              for p in expanded_paths:
                  _spec = copy.copy(spec)
                  _spec['file'] = p
                  expanded_specs.append(_spec)
              return expanded_specs
  
          else:
              return [spec]
docs: Separate wildcard specs into more specs