Apr-18-2023, 09:42 AM
(This post was last modified: Apr-18-2023, 09:42 AM by Gribouillis.)
With the two lines of code, one can only deduce that
Test
is a callable object which invocation returns another callable object. Now you only need to find all the ways to create a callable object in Python, for exampleclass Spam: def eggs(self): return self.eggs Test = Spam().eggs test = Test() test()