Skip to content

Commit

Permalink
Added hint to skip the heavy stuff on first reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Sep 11, 1997
1 parent 7ade6da commit 626a8d0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Demo/metaclasses/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ <H2>(A.k.a. The Killer Joke :-)</H2>
about it -- in fact, it is rather elegant and deep, even though
there's something dark to it.)

<P>(On first reading, you may want to skip directly to the examples in
the section "Writing Metaclasses in Python" below, unless you want
your head to explode.) (XXX I should really restructure this document
to place the historic notes last. After 1.5a4 is released...)

<P>

<HR>

<P>Documentation of the Don Beaudry hook has purposefully been kept
minimal, since it is a feature of incredible power, and is easily
abused. Basically, it checks whether the <b>type of the base
Expand Down Expand Up @@ -148,6 +157,10 @@ <H2>(A.k.a. The Killer Joke :-)</H2>
HREF="http://www.digicool.com/papers/ExtensionClass.html" >Extension
Classes</A> for more information.

<P>

<HR>

<H2>Writing Metaclasses in Python</H2>

<P>In Python 1.5, the requirement to write a C extension in order to
Expand Down Expand Up @@ -502,6 +515,8 @@ <H1>Real-life Examples</H1>
as well. This needs more research. Perhaps a metaclass could be
provided that allows stackable wrappers...

<P>

<HR>

<H2>Things You Could Do With Metaclasses</H2>
Expand Down

0 comments on commit 626a8d0

Please sign in to comment.