From da289dfee8dec261dfa2b296a0af4f3283854756 Mon Sep 17 00:00:00 2001 From: Aryan Verma Date: Mon, 30 Jan 2023 13:19:02 +0530 Subject: [PATCH] Replaced object keyword to super() and removing self argument --- koans/about_attribute_access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koans/about_attribute_access.py b/koans/about_attribute_access.py index f12f61143..873e48509 100644 --- a/koans/about_attribute_access.py +++ b/koans/about_attribute_access.py @@ -105,7 +105,7 @@ def __getattribute__(self, attr_name): # Using 'object' directly because using super() here will also # trigger a __getattribute__() call. - return object.__getattribute__(self, attr_name) + return super().__getattribute__(attr_name) def my_method(self): pass