docstr: Returns an array of tuple(int, node) of the indexes that are used in
  tuple assignments.
  
  For example if the name is ``y`` in the following code::
  
      x, (y, z) = 2, ''
  
  would result in ``[(1, xyz_node), (0, yz_node)]``.
code: def assignment_indexes(self):
      """
      Returns an array of tuple(int, node) of the indexes that are used in
      tuple assignments.
  
      For example if the name is ``y`` in the following code::
  
          x, (y, z) = 2, ''
  
      would result in ``[(1, xyz_node), (0, yz_node)]``.
      """
      indexes = []
      node = self.node.parent
      compare = self.node
      while node is not None:
          if node.type in (
              "testlist",
              "testlist_comp",
              "testlist_star_expr",
              "exprlist",
          ):
              for i, child in enumerate(node.children):
                  if child == compare:
                      indexes.insert(0, (int(i / 2), node))
                      break
              else:
                  raise LookupError("Couldn't find the assignment.")
          elif isinstance(node, (ExprStmt, CompFor)):
              break
  
          compare = node
          node = node.parent
      return indexes
  
imports: from parso.python.tree import ExprStmt, CompFor
  from jedi import debug
  from jedi._compatibility import Python3Method, zip_longest, unicode
  from jedi.parser_utils import clean_scope_docstring, get_doc_with_call_signature
  from jedi.common import BaseContextSet, BaseContext
  from jedi.evaluate.helpers import EvaluatorIndexError, EvaluatorTypeError, EvaluatorKeyError
label_desc: Use image node_id 2 for calling the ContextualizedName obj's underlying member method code with example usage: obj.assignment_indexes() and returns: indexes