summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-01-28 14:27:58 +0900
committerHomu <homu@barosl.com>2016-01-28 14:27:58 +0900
commite2805398f9a63b825f4a2aab22e9f169ff65aae9 (patch)
treea1ebf45fcdc82a939bedc61bde2e6a2836fae453 /numpy/f2py
parent2b34f4bf652189e0415d5bf48ef7aa3294302871 (diff)
parent73a2fd11a74eedb97201fc8d54ea193e810ea9d3 (diff)
downloadnumpy-auto.tar.gz
Auto merge of #7134 - dongjoon-hyun:fix_typos_in_code_comments, r=njsmithauto
MAINT: Fix some typos in a code string and comments
Diffstat (limited to 'numpy/f2py')
-rw-r--r--numpy/f2py/capi_maps.py2
-rwxr-xr-xnumpy/f2py/crackfortran.py2
-rw-r--r--numpy/f2py/rules.py8
3 files changed, 6 insertions, 6 deletions
diff --git a/numpy/f2py/capi_maps.py b/numpy/f2py/capi_maps.py
index 5270cabb5..441629faa 100644
--- a/numpy/f2py/capi_maps.py
+++ b/numpy/f2py/capi_maps.py
@@ -211,7 +211,7 @@ if os.path.isfile('.f2py_f2cmap'):
else:
errmess("\tIgnoring map {'%s':{'%s':'%s'}}: '%s' must be in %s\n" % (
k, k1, d[k][k1], d[k][k1], list(c2py_map.keys())))
- outmess('Succesfully applied user defined changes from .f2py_f2cmap\n')
+ outmess('Successfully applied user defined changes from .f2py_f2cmap\n')
except Exception as msg:
errmess(
'Failed to apply user defined changes from .f2py_f2cmap: %s. Skipping.\n' % (msg))
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index 9f8c8962a..a51eb5d38 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -635,7 +635,7 @@ def crackline(line, reset=0):
"""
reset=-1 --- initialize
reset=0 --- crack the line
- reset=1 --- final check if mismatch of blocks occured
+ reset=1 --- final check if mismatch of blocks occurred
Cracked data is saved in grouplist[0].
"""
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index 2ea8351a2..37cc76ec2 100644
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -15,14 +15,14 @@ wrapper_function(args)
get_b_from_python
if (successful) {
- callfortran
- if (succesful) {
+ call_fortran
+ if (successful) {
put_a_to_python
- if (succesful) {
+ if (successful) {
put_b_to_python
- if (succesful) {
+ if (successful) {
buildvalue = ...