<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_op_name(op, special):
 """ Find the name to attach to this method according to conventions for special and non-special methods. Parameters op : binary operator special : bool Returns ------- op_name : str """

    opname = op.__name__.strip('_')
    if special:
        opname = '__{opname}__'.format(opname=opname)
    return opname