Yeah clever :)
Le 10 sept. 2013 17:54, "Alexis Metaireau" <notifications@github.com> a
écrit :

> In circus/tests/test_stats_collector.py:
>
> >                  collector.start()
> > -                self.loop.start()
> > +                this.loop.start()
>
> in python, you can name the first argument of your method the way you
> want.
>
> Here, this class is defined in the context of another class. The reason
> for this is because I'm doing a closure. I cannot use the self name
> otherwise it will shadow the one from the other class, hence the this.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla-services/circus/pull/525/files#r6269813>
> .
>