Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: Re: Super() function
Gabriel Genellina
3/29/2010 7:19:00 PM
En Sun, 28 Mar 2010 21:58:07 -0300, Delaney, Timothy (Tim)
<tdelaney@avaya.com> escribió:
>> Gabriel Genellina wrote:
>>> Alan Harris-Reid <aharrisreid@googlemail.com> escribió:
>>>
>>>> Using Python 3.1, I sometimes use the super() function to call the
>>>> equivalent method from a parent class, for example
>>>>
>>>> def mymethod(self):
>>>> super().mymethod()
>>>> some more code...
>>>
>>> This recipe does what you want:
>>>
http://code.activestate.com/recipes/286195-...
> If you think the pure-python version of the recipe is complicated, you
> should have
> a look at the performance-optimised Pyrex version ;)
Where can we look at it? The link in the activestate recipe does not work
anymore :(
--
Gabriel Genellina
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Re: Super() function
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password