From 82dc5472b417a869b4f51bfcf1a9e46c075b9f2a Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 2 Sep 2009 16:08:26 -0400 Subject: [PATCH] validation typo --- 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 9101033..4572783 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