I am newbie to python object oriented programming. I am trying to understand binary tree implantation code using python.
My understanding is object.method is the way to call the function. But here the object is called as object[key]="value"
without explicitly calling the function like object.put("key","value)
. Please help me to understand this code.