tutorialsPythonBasic.basic.classes.class_special_methods module¶
- An example using some of the Python special class methods.
- http://docs.python.org/2/reference/datamodel.html#basic-customization
- class tutorialsPythonBasic.basic.classes.class_special_methods.Fraction(x, y)[source]¶
Bases: builtins.object
A simple fraction.