Author: Philip Jenvey <pjen...@underboss.org> Branch: Changeset: r84577:b11052404cd6 Date: 2016-05-22 11:16 -0700 http://bitbucket.org/pypy/pypy/changeset/b11052404cd6/
Log: rename diff --git a/pypy/module/__builtin__/descriptor.py b/pypy/module/__builtin__/descriptor.py --- a/pypy/module/__builtin__/descriptor.py +++ b/pypy/module/__builtin__/descriptor.py @@ -18,7 +18,7 @@ w_type = None # unbound super object w_obj_or_type = space.w_None else: - w_type = _supercheck(space, w_starttype, w_obj_or_type) + w_type = _super_check(space, w_starttype, w_obj_or_type) self.w_starttype = w_starttype self.w_objtype = w_type self.w_self = w_obj_or_type @@ -55,7 +55,7 @@ # fallback to object.__getattribute__() return space.call_function(object_getattribute(space), self, w_name) -def _supercheck(space, w_starttype, w_obj_or_type): +def _super_check(space, w_starttype, w_obj_or_type): """Check that the super() call makes sense. Returns a type""" w_objtype = space.type(w_obj_or_type) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit