Doubt in function calling

while dealing with I came across the function ‘publish_photo_msg(self, message, image_url):’ but I am wondered that this function was called by 'facebook.publish_photo_msg(message, image_url)
the calling function is passing two arguments but the called function is getting three, how is it possible?

please go through the following link to get a clear idea on “self” keyword

1 Like