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

Full description

Saved in:
Bibliographic Details
Online Access: Full Text (via O'Reilly/Safari)
Main Authors: Jones, Brian K. (Brian Kenneth), 1973- (Author), Beazley, David M. (Author)
Other title:Python cookbook.
Format: eBook
Language:English
Published: [Place of publication not identified] : O'Reilly, [2016]
Subjects:

Internet

Full Text (via O'Reilly/Safari)

Online

Holdings details from Online
Call Number: QA76.73.P98
QA76.73.P98 Available