diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-09 10:26:17 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-09 10:26:17 (GMT) |
commit | 0b68a2d67538703b13d4a824acf736f8ef103dad (patch) | |
tree | 24f48762bab91bc3e602a5bc54d346f1427a1a36 /Doc/extending/building.rst | |
parent | 91aaeac0508feebc0b7aa436e634892a472e7e93 (diff) | |
download | cpython-0b68a2d67538703b13d4a824acf736f8ef103dad.zip cpython-0b68a2d67538703b13d4a824acf736f8ef103dad.tar.gz cpython-0b68a2d67538703b13d4a824acf736f8ef103dad.tar.bz2 |
Issue 19195: Improved cross-references in C API documentation.
Diffstat (limited to 'Doc/extending/building.rst')
-rw-r--r-- | Doc/extending/building.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/extending/building.rst b/Doc/extending/building.rst index f4d95b2..08b0cc2 100644 --- a/Doc/extending/building.rst +++ b/Doc/extending/building.rst @@ -58,8 +58,9 @@ distutils; this section explains building extension modules only. It is common to pre-compute arguments to :func:`setup`, to better structure the driver script. In the example above, the\ ``ext_modules`` argument to :func:`setup` is a list of extension modules, each of which is an instance of -the :class:`Extension`. In the example, the instance defines an extension named -``demo`` which is build by compiling a single source file, :file:`demo.c`. +the :class:`~distutils.extension.Extension`. In the example, the instance +defines an extension named ``demo`` which is build by compiling a single source +file, :file:`demo.c`. In many cases, building an extension is more complex, since additional preprocessor defines and libraries may be needed. This is demonstrated in the |