[pyar] duda sobre manera pythonica (lista en clase)
Daniel
dmlistapython en gmail.com
Lun Jun 2 16:16:16 ART 2014
De cómo lo debería hacer,
¿def items(list)?
¿debo hacer un override del método append?
El 2 de junio de 2014, 16:12, Facundo Batista <facundobatista en gmail.com>
escribió:
> 2014-06-02 16:07 GMT-03:00 Daniel <dmlistapython en gmail.com>:
>
> >> Tal vez sea conveniente que la lista "items" herede del built-in "list"
> y
> >> ahí en la subclase hagas lo que tengas que hacer al hacer el "append"
> >>
> > Ahh.. me gustó por ese lado, ¿dónde puedo leer docu al respecto?
>
> Mm.... ¿documentación de qué?
>
> ¿Herencia? ¿Tipo "list"?
>
> --
> . Facundo
>
> Blog: http://www.taniquetil.com.ar/plog/
> PyAr: http://www.python.org/ar/
> Twitter: @facundobatista
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>
--
Daniel Malisani
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20140602/3f7d5a29/attachment.html>
More information about the pyar
mailing list