+ 2

Why dont we need to pass self argument in contructor, in python ?

I have seen that we can write any number of arguments in constructer followed by self in python. why don't we pass self argument as we pass others.

8th Aug 2018, 12:20 PM
MPNH Anonymous
MPNH Anonymous - avatar
1 Respuesta
+ 2
Object reference passes automaticlly
8th Aug 2018, 3:21 PM
Qwertiony
Qwertiony - avatar