# numpy 2.5.4 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Update the positions and provisional input_sets of ``results``
    based on performing the contraction result ``best``. Remove any
    involving the tensors contracted.

    Parameters
    ----------
    results : list
        List of contraction results produced by
        ``_parse_possible_contraction``.
    best : list
        The best contraction of ``results`` i.e. the one that
        will be performed.

    Returns
    -------
    mod_results : list
        The list of modified results, updated with outcome of
        ``best`` contraction.
    
=== parse numpydoc
short_description: |
  Update the positions and provisional input_sets of ``results``
  based on performing the contraction result ``best``. Remove any
  involving the tensors contracted.
blank_after_short_description: True
blank_after_long_description: False
style: numpydoc
- DocstringParam
  description: |
    List of contraction results produced by
    ``_parse_possible_contraction``.
  kind: param
  key: 'param'
  arg_name: 'results'
  type_name: 'list'
  is_optional: False
- DocstringParam
  description: |
    The best contraction of ``results`` i.e. the one that
    will be performed.
  kind: param
  key: 'param'
  arg_name: 'best'
  type_name: 'list'
  is_optional: False
- DocstringReturns
  description: |
    The list of modified results, updated with outcome of
    ``best`` contraction.
  kind: returns
  key: 'returns'
  type_name: 'list'
  is_generator: False
  return_name: 'mod_results'
=== detect
numpydoc
=== compose numpydoc
Update the positions and provisional input_sets of ``results``
based on performing the contraction result ``best``. Remove any
involving the tensors contracted.

Parameters
----------
results : list
    List of contraction results produced by
    ``_parse_possible_contraction``.
best : list
    The best contraction of ``results`` i.e. the one that
    will be performed.

Returns
-------
mod_results : list
    The list of modified results, updated with outcome of
    ``best`` contraction.
