Skip to content

Commit

Permalink
MAINT: Minor cleanups after merging numpygh-19805
Browse files Browse the repository at this point in the history
- Spelling fixes
- Release note fragment for numpygh-19805.
  • Loading branch information
charris committed Sep 26, 2021
1 parent 5ae01fa commit b8e46c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions doc/release/upcoming_changes/19805.new_feature.rst
@@ -0,0 +1,5 @@
Symbolic parser for Fortran dimension specifications
----------------------------------------------------
A new symbolic parser has been added to f2py in order to correctly parse
dimension specifications. The parser is the basis for future improvements
and provides compatibility with Draft Fortran 202x.
4 changes: 2 additions & 2 deletions numpy/f2py/tests/test_crackfortran.py
Expand Up @@ -170,7 +170,7 @@ def test_multiple_relevant_spaces(self):


class TestDimSpec(util.F2PyTest):
"""This test site tests various expressions that are used as dimension
"""This test suite tests various expressions that are used as dimension
specifications.
There exists two usage cases where analyzing dimensions
Expand All @@ -183,7 +183,7 @@ class TestDimSpec(util.F2PyTest):
`lower` and `upper` are arbitrary expressions of input parameters.
The evaluation is performed in C, so f2py has to translate Fortran
expressions to valid C expressions (an alternative approach is
that a developer specifies the corresponing C expressions in a
that a developer specifies the corresponding C expressions in a
.pyf file).
In the second case, when user provides an input array with a given
Expand Down

0 comments on commit b8e46c6

Please sign in to comment.