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....
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | Jones, Brian K. (Brian Kenneth), 1973- (Autor), Beazley, David M. (Autor) |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] :
O'Reilly,
[2016]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Ejemplares similares
-
Python cookbook /
por: Beazley, David M., et al.
Publicado: (2013) -
Python Essential Reference, Second Edition /
por: Beazley, David
Publicado: (2001) -
Python : essential reference /
por: Beazley, David M.
Publicado: (2009) -
Python. Receptury /
por: Beazley, David M.
Publicado: (2014) -
Implementing stateful objects or state machines in Python /
por: Jones, Brian, et al.
Publicado: (2016)