[Tutor] Python 3: List Comprehensions + range

Joel Goldstick joel.goldstick at gmail.com
Sun Sep 21 21:21:05 CEST 2014


On Sun, Sep 21, 2014 at 2:36 PM, Juan Christian
<juan0christian at gmail.com> wrote:
> On Sun, Sep 21, 2014 at 3:28 PM, Joel Goldstick <joel.goldstick at gmail.com>
> wrote:
>>
>> You are calling Season with different parameters than it was defined to
>> accept.
>
>
> No, I'm not.
>
> Season > def __init__(self, ID, season, serie)
>
> and I'm calling it with Season(ID, season, self), I'm giving everything
> needed, don't I?

Shouldn't it be:  Season(ID, season, serie)?
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>



-- 
Joel Goldstick
http://joelgoldstick.com


More information about the Tutor mailing list