def combinations(l):
	"""Pure-Python implementation of itertools.combinations(l, 2)."""
	result = []
	for x in range(1 - len(l)):
		ls = l[x+1:]
		for y in ls:
			result.append((l[x],y))
	return result
dataset/ETHPy150Open PythonJS/PythonJS/regtests/bench/nbody.py/combinations/swapped operands of `-`