Cargando…

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
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)

MARC

LEADER 00000cam a2200000Ii 4500
001 OR_ocn973495420
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 170223s2016 xx o 000 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d OCLCF  |d STF  |d CEF  |d KSU  |d DEBBG  |d WYU  |d UAB  |d CNCEN  |d OCLCO  |d OCLCQ  |d OCLCO 
029 1 |a GBVCP  |b 897166884 
035 |a (OCoLC)973495420 
037 |a CL0500000833  |b Safari Books Online 
050 4 |a QA76.73.P98 
049 |a UAMI 
100 1 |a Jones, Brian K.  |q (Brian Kenneth),  |d 1973-  |e author. 
245 1 0 |a Making classes support comparison operations in Python. 
264 1 |a [Place of publication not identified] :  |b O'Reilly,  |c [2016] 
300 |a 1 online resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
500 |a Description based on online resource; title from cover (viewed February 20, 2017). 
500 |a From Python cookbook, third edition, by Brian K. Jones and David Beazley. Cf. Cover. 
500 |a Date of publication from resource description page. 
520 |a 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. What you'll learn—and how you can apply it Learn how to use the functools.total_ordering decorator to simplify the comparison operator creation process. This lesson is for you because… You're an experienced Python programmer who wants to compare instances of your class using standard comparison operators without having to write a lot of special methods. Prerequisites Moderate experience with Python Materials or downloads needed None. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Python (Computer program language) 
650 6 |a Python (Langage de programmation) 
650 7 |a Python (Computer program language)  |2 fast 
700 1 |a Beazley, David M.,  |e author. 
740 0 |a Python cookbook. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781491965276/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP