original_docstring: returns the next branch to try
docstring: returns the next branch to try
docstring_tokens: returns the next branch to try
code: def next_branch(branch, move, q, r):
          'returns the next branch to try'
          # usando o chute pelo final <--
          if move == 0:
              print(move, q, r, 'wut')
              return -1  # error code
          j = branch.count([q, r])
          if j >= len(move):
              return 0
          return [move[-j-1]]
code_tokens: def next_branch ( branch , move , q , r ) : if move == 0 : print ( move , q , r , 'wut' ) return - 1 j = branch . count ( [ q , r ] ) if j >= len ( move ) : return 0 return [ move [ - j - 1 ] ]
short_docstring: returns the next branch to try
short_docstring_tokens: returns the next branch to try
comment: 'returns the next branch to try'$SEP$# usando o chute pelo final <--$SEP$# error code