parameters: (self, data_paths=None)
docstring: Combine together a number of similarly-named coverage data files.
  
          All coverage data files whose name starts with `data_file` (from the
          coverage() constructor) will be read, and combined together into the
          current measurements.
  
          `data_paths` is a list of files or directories from which data should
          be combined. If no list is passed, then the data files from the
          directory indicated by the current data file (probably the current
          directory) will be combined.
  
          .. versionadded:: 4.0
              The `data_paths` parameter.
docstring_summary: Combine together a number of similarly-named coverage data files.
docstring_tokens: Combine together a number of similarly - named coverage data files .
function: def combine(self, data_paths=None):
          """Combine together a number of similarly-named coverage data files.
  
          All coverage data files whose name starts with `data_file` (from the
          coverage() constructor) will be read, and combined together into the
          current measurements.
  
          `data_paths` is a list of files or directories from which data should
          be combined. If no list is passed, then the data files from the
          directory indicated by the current data file (probably the current
          directory) will be combined.
  
          .. versionadded:: 4.0
              The `data_paths` parameter.
  
          """
          self._init()
          self.get_data()
  
          aliases = None
          if self.config.paths:
              aliases = PathAliases()
              for paths in self.config.paths.values():
                  result = paths[0]
                  for pattern in paths[1:]:
                      aliases.add(pattern, result)
  
          self.data_files.combine_parallel_data(self.data, aliases=aliases, data_paths=data_paths)
function_tokens: def combine ( self , data_paths = None ) : self . _init ( ) self . get_data ( ) aliases = None if self . config . paths : aliases = PathAliases ( ) for paths in self . config . paths . values ( ) : result = paths [ 0 ] for pattern in paths [ 1 : ] : aliases . add ( pattern , result ) self . data_files . combine_parallel_data ( self . data , aliases = aliases , data_paths = data_paths )