def apply_other(self, args, evaluation):
"%(name)s[args___?(!ExactNumberQ[//]&)]"
args = args.get_sequence()
pairs = zip(args[:-1],args[1:])
print("apply_other:", args)
for x, y in pairs:
c = self.do_compare(x, y)
if c is None:
After Change
def apply_other(self, args, evaluation):
"%(name)s[args___?(!ExactNumberQ[//]&)]"
args = args.get_sequence()
for x, y in itertools.combinations(args, 2):
c = self.do_compare(x, y)
if c is None:
return