[pypy-commit] pypy default: (arigo) use directly space.lt instead of going through space.gt
antocuni
noreply at buildbot.pypy.org
Thu Mar 1 17:26:52 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r53067:d0b0ec960281
Date: 2012-03-01 17:26 +0100
http://bitbucket.org/pypy/pypy/changeset/d0b0ec960281/
Log: (arigo) use directly space.lt instead of going through space.gt
diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py
--- a/pypy/interpreter/typedef.py
+++ b/pypy/interpreter/typedef.py
@@ -66,7 +66,7 @@
@interp2app
def auto__le__(space, w_self, w_other):
- return space.not_(space.gt(w_self, w_other))
+ return space.not_(space.lt(w_other, w_self))
@interp2app
def auto__gt__(space, w_self, w_other):
More information about the pypy-commit
mailing list