summaryrefslogtreecommitdiffstats
path: root/Doc/dist
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-12 23:08:53 (GMT)
committerGreg Ward <gward@python.net>2000-09-12 23:08:53 (GMT)
commit078fc0816d12c8cb7c5b6bf129d2419ff06d2106 (patch)
treed953e480cdf4ed857db032f875f6402f82099a52 /Doc/dist
parent0ac9b07963bf6091cd72dba65b093de85acf6453 (diff)
downloadcpython-078fc0816d12c8cb7c5b6bf129d2419ff06d2106.zip
cpython-078fc0816d12c8cb7c5b6bf129d2419ff06d2106.tar.gz
cpython-078fc0816d12c8cb7c5b6bf129d2419ff06d2106.tar.bz2
Typo fix -- it's 'ext_modules', not 'extensions'.
Diffstat (limited to 'Doc/dist')
-rw-r--r--Doc/dist/dist.tex6
1 files 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