From 078fc0816d12c8cb7c5b6bf129d2419ff06d2106 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Tue, 12 Sep 2000 23:08:53 +0000 Subject: Typo fix -- it's 'ext_modules', not 'extensions'. --- Doc/dist/dist.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 679d9fd..07a0ab1 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -391,7 +391,7 @@ and nothing else might be: \begin{verbatim} from distutils.core import setup, Extension setup(name = "foo", version = "1.0", - extensions = [Extension("foo", ["foo.c"])]) + ext_modules = [Extension("foo", ["foo.c"])]) \end{verbatim} The \class{Extension} class (actually, the underlying extension-building @@ -422,8 +422,8 @@ to \function{setup()}. For example, \begin{verbatim} setup(... ext_package = "pkg", - extensions = [Extension("foo", ["foo.c"]), - Extension("subpkg.bar", ["bar.c"])] + ext_modules = [Extension("foo", ["foo.c"]), + Extension("subpkg.bar", ["bar.c"])] ) \end{verbatim} will compile \file{foo.c} to the extension \module{pkg.foo}, and -- cgit v0.12