[Tutor] __init__

Joel Goldstick joel.goldstick at gmail.com
Mon Aug 29 18:11:46 EDT 2016


On Mon, Aug 29, 2016 at 3:03 PM, monikajg at netzero.net
<monikajg at netzero.net> wrote:
>
>
> Hi:
> If __init__ is not defined in a class, will it be called when creating an instance?
> What in a case if this class inherits from parent with __init__ and without __init__?
> Thank you
> Monika
> ____________________________________________________________
> www.theictm.org (Sponsored by Content.Ad)
> 1 Fruit That "Destroys" Diabetes
> http://thirdpartyoffers.netzero.net/TGL3241/57c4872872749728513dst03duc
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor

The class will be instantiated.. but no attributes will be set


-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays


More information about the Tutor mailing list