summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-29 08:27:42 (GMT)
committerGitHub <noreply@github.com>2019-08-29 08:27:42 (GMT)
commit0dac68f1e593c11612ed54af9edb865d398f3b05 (patch)
tree0697b0f9543d4b65feaf75b3335c2fb85481e4d1 /Tools
parent84125fed2a45a9e454d7e870d8bbaf6ece3d41e8 (diff)
downloadcpython-0dac68f1e593c11612ed54af9edb865d398f3b05.zip
cpython-0dac68f1e593c11612ed54af9edb865d398f3b05.tar.gz
cpython-0dac68f1e593c11612ed54af9edb865d398f3b05.tar.bz2
bpo-36743: __get__ is sometimes called without the owner argument (#12992)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/demo/eiffel.py2
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):