Python Forum
a class calling one of its own methods? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: a class calling one of its own methods? (/thread-19941.html)



a class calling one of its own methods? - Skaperen - Jul-21-2019

when a method in a class calls one on its own methods (either a different one or itself) does it need to pass self in arg 1 or is it also included just like a call from outside?


RE: a class calling one of its own methods? - Gribouillis - Jul-21-2019

It is just like a call from outside.