Author: Carl Friedrich Bolz <[email protected]>
Branch: 
Changeset: r82802:3273c7f02b47
Date: 2016-03-05 19:46 +0100
http://bitbucket.org/pypy/pypy/changeset/3273c7f02b47/

Log:    gah, fix typo

diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py
--- a/pypy/interpreter/function.py
+++ b/pypy/interpreter/function.py
@@ -572,7 +572,7 @@
         from pypy.objspace.std.util import IDTAG_SHIFT
         if self.w_instance is not None:
             id = space.bigint_w(space.id(self.w_instance))
-            id.lshift(LONG_BIT)
+            id = id.lshift(LONG_BIT)
         else:
             id = rbigint.fromint(0)
         id = id.or_(space.bigint_w(space.id(self.w_function)))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to