[pypy-commit] pypy default: Fix docstring
arigo
noreply at buildbot.pypy.org
Tue Feb 10 19:58:50 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r75813:821eb2210b1a
Date: 2015-02-10 19:58 +0100
http://bitbucket.org/pypy/pypy/changeset/821eb2210b1a/
Log: Fix docstring
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -712,7 +712,7 @@
return self.wrap(not self.is_true(w_obj))
def eq_w(self, w_obj1, w_obj2):
- """shortcut for space.is_true(space.eq(w_obj1, w_obj2))"""
+ """Implements equality with the double check 'x is y or x == y'."""
return self.is_w(w_obj1, w_obj2) or self.is_true(self.eq(w_obj1, w_obj2))
def is_(self, w_one, w_two):
More information about the pypy-commit
mailing list