From 52a7502194d35cbd8a1bfec381b08125588646c4 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sun, 16 Aug 2009 21:46:47 -0400 Subject: [PATCH] remove reference to advanced-classes chapter that was cut --- special-method-names.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/special-method-names.html b/special-method-names.html index 6d77ecb..bbfd0bf 100644 --- a/special-method-names.html +++ b/special-method-names.html @@ -355,7 +355,7 @@ class FieldStorage:

Classes That Act Like Numbers

-

Using the appropriate special methods, you can define your own classes that act like numbers. That is, you can add them, subtract them, and perform other mathematical operations on them. This is how fractions are implemented — the Fraction class implements these special methods, then you can do things like this: +

Using the appropriate special methods, you can define your own classes that act like numbers. That is, you can add them, subtract them, and perform other mathematical operations on them. This is how fractions are implemented — the Fraction class implements these special methods, then you can do things like this:

 >>> from fractions import Fraction