parameters: (levellist)
docstring: Resets misbehaving half-lives to new value.
docstring_summary: Resets misbehaving half-lives to new value.
docstring_tokens: Resets misbehaving half - lives to new value .
function: def _adjust_half_lives(levellist):
      """Resets misbehaving half-lives to new value."""
      for i in range(len(levellist)):
          key = levellist[i][:2]
          if key in _BAD_HALF_LIVES:
              row = list(levellist[i])
              row[2] = _BAD_HALF_LIVES[key]
              levellist[i] = tuple(row)
function_tokens: def _adjust_half_lives ( levellist ) : for i in range ( len ( levellist ) ) : key = levellist [ i ] [ : 2 ] if key in _BAD_HALF_LIVES : row = list ( levellist [ i ] ) row [ 2 ] = _BAD_HALF_LIVES [ key ] levellist [ i ] = tuple ( row )