Python Forum
Python Forum
>
Python Coding
>
General Coding Help
> a class calling one of its own methods?
Full Version:
a class calling one of its own methods?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Skaperen
Jul-21-2019, 03:38 AM
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?
Gribouillis
Jul-21-2019, 04:43 AM
It is just like a call from outside.
Python Forum
>
Python Coding
>
General Coding Help
> a class calling one of its own methods?