diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-29 09:02:51 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-08-29 09:02:51 (GMT) |
commit | c71ae1a45bd6e6d0f5aebc470b35f5a7dc0d8078 (patch) | |
tree | 1e89af5c38142e19f260f1490423baa9ecf1f32e /Tools | |
parent | 0d45d50e421b46b56195821580c3760b43813106 (diff) | |
download | cpython-c71ae1a45bd6e6d0f5aebc470b35f5a7dc0d8078.zip cpython-c71ae1a45bd6e6d0f5aebc470b35f5a7dc0d8078.tar.gz cpython-c71ae1a45bd6e6d0f5aebc470b35f5a7dc0d8078.tar.bz2 |
bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) (GH-15589)
(cherry picked from commit 0dac68f1e593c11612ed54af9edb865d398f3b05)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/demo/eiffel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/eiffel.py b/Tools/demo/eiffel.py index 736abea..a76c232 100755 --- a/Tools/demo/eiffel.py +++ b/Tools/demo/eiffel.py @@ -78,7 +78,7 @@ class EiffelDescriptor: self.__name__ = func.__name__ self.__doc__ = func.__doc__ - def __get__(self, obj, cls): + def __get__(self, obj, cls=None): return EiffelMethodWrapper(obj, self) def callmethod(self, inst, args, kwargs): |