parameters: (flat)
return_statement: return divmod(flat, go.N)
docstring: Converts from a flattened coordinate to a Minigo coordinate.
docstring_summary: Converts from a flattened coordinate to a Minigo coordinate.
docstring_tokens: Converts from a flattened coordinate to a Minigo coordinate .
function: def from_flat(flat):
      """Converts from a flattened coordinate to a Minigo coordinate."""
      if flat == go.N * go.N:
          return None
      return divmod(flat, go.N)
function_tokens: def from_flat ( flat ) : if flat == go . N * go . N : return None return divmod ( flat , go . N )