parameters: (a)
return_statement: return a
docstring: fix rank > 0 --> rank-0
docstring_summary: fix rank > 0 --> rank-0
docstring_tokens: fix rank > 0 -- > rank - 0
function: def _fr1(a):
      """fix rank > 0 --> rank-0"""
      if a.size == 1:
          a = a.copy()
          a.shape = ()
      return a
function_tokens: def _fr1 ( a ) : if a . size == 1 : a = a . copy ( ) a . shape = ( ) return a