Re: Questions on Instance methods

2019-04-22 Thread dieter
Arup Rakshit writes: > ... > As you saw from documentation link, those are just words kind of spec. > Which source you recommend to read which explains these concepts more with > example codes. I cannot help you much with this -- I am much turned towards spec[ification] like documentation and ha

Re: Questions on Instance methods

2019-04-21 Thread eryk sun
On 4/21/19, Arup Rakshit wrote: > > I am reading https://docs.python.org/3/reference/index.html now, and it > seems like saying what Python can do, but not going deep to explain it > to a new comers most of the time. The guide to Python descriptors may help. https://docs.python.org/3/howto/descr

Re: Questions on Instance methods

2019-04-21 Thread Arup Rakshit
Hello Dieter, Thanks for taking time to explain this. I understood it half way, but that is my problem. I need to spend some more months to feel in home I guess. As you saw from documentation link, those are just words kind of spec. Which source you recommend to read which explains these conce

Re: Questions on Instance methods

2019-04-19 Thread dieter
Arup Rakshit writes: >>When an instance method object is created by retrieving a class method >> object from a class or instance, its __self__ attribute is the class itself, >> and its __func__ attribute is the function object underlying the class >> method. > > Here I have 2 questions: >

Questions on Instance methods

2019-04-19 Thread Arup Rakshit
>When an instance method object is created by retrieving a class method > object from a class or instance, its __self__ attribute is the class itself, > and its __func__ attribute is the function object underlying the class method. Here I have 2 questions: 1. How do you create an instance m