We can call methods of parenet class without initliaze it?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 15 06:54:42 EDT 2023


On 15/03/23 10:57 pm, scruel tao wrote:
> How can I understand this? Will it be a problem?

I can't remember any details offhand, but I know I've occasionally
made use of the ability to do this. It's fine as long as the method
you're calling doesn't rely on anything you haven't initialised yet.

-- 
Greg




More information about the Python-list mailing list