Making classes support comparison operations in Python

This lesson is a recipe from the Python Cookbook that explores being able to compare instances of your class using the standard comparison operators, but without having to write a lot of special methods, and avoiding the tedious task of creating implementations of every possible comparison operator....

Descripción completa

Detalles Bibliográficos
Otros Autores: Jones, Brian, author (author), Beazley, David, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: O'Reilly Media, Inc 2016.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631209206719

Ejemplares similares