Fonction d'appel Python dans la même classe
# Add the argument ".self" before your function's name --> line 12
class ThisClass:
def __init__(self):
self.a_random_arg = a_random_arg
def FirstDef(self):
# Do your thing
# in this example, it returns a boolean
def SecondDef(self):
if self.FirstDef(self) :
# Do your thing again
Maximauve_