Herramientas de usuario

Herramientas del sitio


informatica:programacion:python:poo

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
informatica:programacion:python:poo [2021/10/10 13:43] – [Imprimir la representación de un objeto] tempwininformatica:programacion:python:poo [2021/10/10 13:47] (actual) – [Recursos] tempwin
Línea 328: Línea 328:
  
 ^ Método                 ^ Operador ^ ^ Método                 ^ Operador ^
-| '%%__%%add%%__%%''     | ''self + other'' +''%%__%%add%%__%%''     | ''self + other'' 
-| '%%__%%sub%%__%%''     | ''self - other'' +''%%__%%sub%%__%%''     | ''self - other'' 
-| '%%__%%eq%%__%%''      | ''self == other'' +''%%__%%eq%%__%%''      | ''self == other'' 
-| '%%__%%lt%%__%%''      | ''self < other'' +''%%__%%lt%%__%%''      | ''self < other'' 
-| '%%__%%len%%__%%''     | ''len(self)'' +''%%__%%len%%__%%''     | ''len(self)'' 
-| '%%__%%str%%__%%''     | ''print(self)''  |+''%%__%%str%%__%%''     | ''print(self)''  |
  
  
   * https://docs.python.org/3/reference/datamodel.html#basic-customization   * https://docs.python.org/3/reference/datamodel.html#basic-customization
 +
 +===== Recursos =====
 +
 +  * [[https://www.youtube.com/watch?v=-DP1i2ZU9gk|8. Object Oriented Programming]] (YouTube)
informatica/programacion/python/poo.1633866221.txt.gz · Última modificación: por tempwin