diff --git a/Demo/metaclasses/index.html b/Demo/metaclasses/index.html index 1a54cdd7e63..af9caa9f583 100644 --- a/Demo/metaclasses/index.html +++ b/Demo/metaclasses/index.html @@ -27,7 +27,7 @@ allowing the Python class syntax to be used to define other class-like entities. Don Beaudry has used this in his infamous MESS package; Jim Fulton has used it in his Extension +HREF="http://www.digicool.com/releases/ExtensionClass/">Extension Classes package. (It has also been referred to as the ``Don Beaudry hack,'' but that's a misnomer. There's nothing hackish about it -- in fact, it is rather elegant and deep, even though @@ -62,7 +62,7 @@ type of the base class is callable.''

(Types are not classes, by the way. See questions 4.2, 4.19 and in particular 6.22 in the Python FAQ +HREF="http://www.python.org/cgi-bin/faqw.py" >Python FAQ for more on this topic.)

@@ -193,7 +193,7 @@ C = B.__class__('C', (B,), {'a': 1, 'b': 2}) This is exactly the same as before except that instead of type(B), B.__class__ is invoked. If you have read FAQ question 6.22 you will understand that while there is a big technical difference between type(B) and B.__class__, they play the same role at different abstraction levels. And perhaps at some point