summaryrefslogtreecommitdiff
path: root/doc/source/f2py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/f2py')
-rw-r--r--doc/source/f2py/signature-file.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/f2py/signature-file.rst b/doc/source/f2py/signature-file.rst
index 54b8736f1..a8924712f 100644
--- a/doc/source/f2py/signature-file.rst
+++ b/doc/source/f2py/signature-file.rst
@@ -21,7 +21,7 @@ scanning Fortran codes and writing a signature file, F2PY lowers all
cases automatically except in multiline blocks or when ``--no-lower``
option is used.
-The syntax of signature files is overvied below.
+The syntax of signature files is presented below.
Python module block
=====================
@@ -180,7 +180,7 @@ Common block statements:
If a ``python module`` block contains two or more ``common`` blocks
with the same name, the variables from the additional declarations
- are appened. The types of variables in ``<shortentitydecl>`` are
+ are appended. The types of variables in ``<shortentitydecl>`` are
defined using ``<argument type declarations>``. Note that the
corresponding ``<argument type declarations>`` may contain array
specifications; then you don't need to specify these in
@@ -401,8 +401,8 @@ The following attributes are used by F2PY:
a C function. This is because the concepts of Fortran- and
C contiguity overlap in one-dimensional cases.
- If ``intent(c)`` is used as an statement but without entity
- declaration list, then F2PY adds ``intent(c)`` attibute to all
+ If ``intent(c)`` is used as a statement but without an entity
+ declaration list, then F2PY adds the ``intent(c)`` attribute to all
arguments.
Also, when wrapping C functions, one must use ``intent(c)``
@@ -597,7 +597,7 @@ A C expression may contain:
``shape(<name>,<n>)``
Returns the ``<n>``-th dimension of an array ``<name>``.
``len(<name>)``
- Returns the lenght of an array ``<name>``.
+ Returns the length of an array ``<name>``.
``size(<name>)``
Returns the size of an array ``<name>``.
``slen(<name>)``