Kaydet (Commit) 8a282d17 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 72474 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72474 | benjamin.peterson | 2009-05-08 12:59:29 -0500 (Fri, 08 May 2009) | 1 line

  fix this test
........
üst 0a866947
......@@ -1572,15 +1572,13 @@ order (MRO) for bases """
self.impl = impl
def __get__(self, obj, owner):
record.append(1)
return self
def __call__(self, *args):
return self.impl(*args)
return self.impl.__get__(obj, owner)
for name, runner, meth_impl in specials:
class X(Checker):
pass
setattr(X, name, staticmethod(meth_impl))
setattr(X, name, meth_impl)
runner(X())
record = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment