summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-08-04 20:10:05 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-08-04 20:10:05 +0000
commit0cd859ef7a7155f09f6a9a2c72e21e8fd43aed9d (patch)
tree01144cd549f4ac0954277660c2639d18533ce55b /numpy/f2py
parent0a24806b21134798a0bb3a9382c7cb11d35bc46c (diff)
downloadnumpy-0cd859ef7a7155f09f6a9a2c72e21e8fd43aed9d.tar.gz
ExtGen: doc update.
Diffstat (limited to 'numpy/f2py')
-rw-r--r--numpy/f2py/lib/extgen/doc.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/f2py/lib/extgen/doc.txt b/numpy/f2py/lib/extgen/doc.txt
index 4809abb31..9f76f6f1a 100644
--- a/numpy/f2py/lib/extgen/doc.txt
+++ b/numpy/f2py/lib/extgen/doc.txt
@@ -55,19 +55,19 @@ Creating an extension module is carried out by the following steps:
- generate code by calling the `.generate()` method.
- compile and build an extension module using the generated code.
- ExtGen provides a way to do it via accessing the `.build` attribute
- of the `ExtensionModule` instance. Accessing this attribute
- will generate extension module, compilers it and returns the
+ ExtGen provides a way to do it via `.build()` method
+ of the `ExtensionModule` instance. Calling this method
+ will generate extension module, compiles it and returns the
corresponding extension module instance.
These steps will be discussed in more detail below.
The `.components` attribute is a list object that contains instances
-of `Base` subclasses (components). For instance, the `CAPIFunction` instance
+of `Base` subclasses (components). For instance, the `PyCFunction` instance
defined in the Hello example above, is a component of
`ExtensionModule` instances after calling `.add()` method. Similarly,
the C statement `'printf("Hello!\\n");'` is a component of
-`CAPIFunction` instance after calling the `.add_execution()` method.
+`PyCFunction` instance after calling the `.add()` method.
The `.template` attribute is a string containing an template
to a code idiom. Such an template may contain string replacements