parameters: (ufunc, name)
return_statement: return func
docstring: Implement a reflected binary method with a ufunc, e.g., __radd__.
docstring_summary: Implement a reflected binary method with a ufunc, e.g., __radd__.
docstring_tokens: Implement a reflected binary method with a ufunc e . g . __radd__ .
function: def _reflected_binary_method(ufunc, name):
      """Implement a reflected binary method with a ufunc, e.g., __radd__."""
      def func(self, other):
          if _disables_array_ufunc(other):
              return NotImplemented
          return ufunc(other, self)
      func.__name__ = '__r{}__'.format(name)
      return func
function_tokens: def _reflected_binary_method ( ufunc , name ) : def func ( self , other ) : if _disables_array_ufunc ( other ) : return NotImplemented return ufunc ( other , self ) func . __name__ = '__r{}__' . format ( name ) return func