[pypy-commit] pypy default: fix translation (typo)

rlamy pypy.commits at gmail.com
Tue Dec 13 18:23:17 EST 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r89047:a12b1539331d
Date: 2016-12-13 23:22 +0000
http://bitbucket.org/pypy/pypy/changeset/a12b1539331d/

Log:	fix translation (typo)

diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py
--- a/pypy/interpreter/gateway.py
+++ b/pypy/interpreter/gateway.py
@@ -671,10 +671,10 @@
         return space.newtuple([builtin_code,
                                space.newtuple([space.wrap(self.identifier)])])
 
-    def find(space, indentifier):
+    @staticmethod
+    def find(space, identifier):
         from pypy.interpreter.function import Function
         return Function.find(space, identifier).code
-    find = staticmethod(find)
 
     def signature(self):
         return self.sig


More information about the pypy-commit mailing list