[pypy-commit] pypy default: rename
pjenvey
pypy.commits at gmail.com
Sun May 22 14:18:47 EDT 2016
Author: Philip Jenvey <pjenvey at 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)
More information about the pypy-commit
mailing list