Kaydet (Commit) d895749b authored tarafından Guido van Rossum's avatar Guido van Rossum

New warnings to the uninitiated reader.

üst d741f4c4
...@@ -9,8 +9,16 @@ ...@@ -9,8 +9,16 @@
<H1>Metaclasses in Python 1.5</H1> <H1>Metaclasses in Python 1.5</H1>
<H2>(A.k.a. The Killer Joke :-)</H2> <H2>(A.k.a. The Killer Joke :-)</H2>
<P><b>Note: this document describes a feature only released in Python <HR>
1.5 (starting with 1.5a3).</b>
(<i>Postscript:</i> reading this essay is probably not the best way to
understand the metaclass hook described here. See a <A
HREF="meta-vladimir.txt">message posted by Vladimir Marangozov</A>
which may give a gentler introduction to the matter. You may also
want to search Deja News for messages with "metaclass" in the subject
posted to comp.lang.python in July and August 1998.)
<HR>
<P>In previous Python releases (and still in 1.5), there is something <P>In previous Python releases (and still in 1.5), there is something
called the ``Don Beaudry hook'', after its inventor and champion. called the ``Don Beaudry hook'', after its inventor and champion.
...@@ -27,8 +35,7 @@ there's something dark to it.) ...@@ -27,8 +35,7 @@ there's something dark to it.)
<P>(On first reading, you may want to skip directly to the examples in <P>(On first reading, you may want to skip directly to the examples in
the section "Writing Metaclasses in Python" below, unless you want the section "Writing Metaclasses in Python" below, unless you want
your head to explode.) (XXX I should really restructure this document your head to explode.)
to place the historic notes last. After 1.5a4 is released...)
<P> <P>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment