def _parse_sgf_move(node_value):
 if ((node_value == '') or (node_value == 'tt')):
  return go.PASS_MOVE
 else:
  col = LETTERS.index(node_value[0].upper())
  row = LETTERS.index(node_value[1].upper())
  return (col, row)

def _parse_sgf_move ( node_value ) : if ( ( node_value == '' ) or ( node_value == 'tt' ) ) : return go . PASS_MOVE else : col = LETTERS . index ( node_value [ 0 ] . upper ( ) ) row = LETTERS . index ( node_value [ 1 ] . upper ( ) ) return ( col , row )
given a well-formed move string .