]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Move some of the longer example code to external fragments, and
authorFred Drake <fdrake@acm.org>
Thu, 28 Mar 2002 23:12:09 +0000 (23:12 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 28 Mar 2002 23:12:09 +0000 (23:12 +0000)
commit81b750d467b38fe51ad8e338823338c8123b30e0
tree3013ba674d0148d88d817ba70522d13cca83decc
parentb4c17c899284eae9923495c0879af8aa0e91dfd6
Move some of the longer example code to external fragments, and
include them using \verbatiminput.  This has the advantage that pages
can still break at reasonable places, and examples that go longer than
a page won't get cut off.

Make a few small markup adjustments for consistency.

Explain that PyObject_New() is not a C function but a polymorphic
beast that returns a pointer to the type that's passed as the first
arg.

Explain why type objects use the PyObject_VAR_HEAD.
Doc/ext/newtypes.tex