Skip to content

Commit

Permalink
fix a couple of spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
juliantaylor committed Dec 12, 2012
1 parent f093dc8 commit 1b4a9a5
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion doc/source/tutorial/weave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ TypeError.
if(PyCallable_Check(py_obj) && PyInstance_Check(py_obj)) return "callable";
if(PyInstance_Check(py_obj)) return "instance";
if(PyCallable_Check(py_obj)) return "callable";
return "unkown type";
return "unknown type";
}

Since the ``inline`` is also executed within the ``try/catch`` block, you can
Expand Down
2 changes: 1 addition & 1 deletion scipy/sparse/sparsetools/numpy.i
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static const char* pytype_string(PyObject* py_obj) {
if (PyModule_Check( py_obj)) return "module" ;
if (PyInstance_Check(py_obj)) return "instance" ;

return "unkown type";
return "unknown type";
}

/* Given a NumPy typecode, return a string describing the type.
Expand Down
2 changes: 1 addition & 1 deletion scipy/spatial/qhull.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ class Delaunay(object):
Notes
-----
The tesselation is computed using the Qhull libary [Qhull]_.
The tesselation is computed using the Qhull library [Qhull]_.
.. versionadded:: 0.9
Expand Down
26 changes: 13 additions & 13 deletions scipy/special/add_newdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def add_newdoc(place, name, doc):

add_newdoc("scipy.special", "kelvin",
"""
(Be, Ke, Bep, Kep)=kelvin(x) returns the tuple (Be, Ke, Bep, Kep) which containes
(Be, Ke, Bep, Kep)=kelvin(x) returns the tuple (Be, Ke, Bep, Kep) which contains
complex numbers representing the real and imaginary Kelvin functions
and their derivatives evaluated at x. For example,
kelvin(x)[0].real = ber x and kelvin(x)[0].imag = bei x with similar
Expand Down Expand Up @@ -1085,14 +1085,14 @@ def add_newdoc(place, name, doc):
add_newdoc("scipy.special", "obl_ang1",
"""
(s,sp)=obl_ang1(m,n,c,x) computes the oblate sheroidal angular function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``.
""")

add_newdoc("scipy.special", "obl_ang1_cv",
"""
(s,sp)=obl_ang1_cv(m,n,c,cv,x) computes the oblate sheroidal angular function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")
Expand All @@ -1106,29 +1106,29 @@ def add_newdoc(place, name, doc):
add_newdoc("scipy.special", "obl_rad1",
"""
(s,sp)=obl_rad1(m,n,c,x) computes the oblate sheroidal radial function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``.
""")

add_newdoc("scipy.special", "obl_rad1_cv",
"""
(s,sp)=obl_rad1_cv(m,n,c,cv,x) computes the oblate sheroidal radial function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")

add_newdoc("scipy.special", "obl_rad2",
"""
(s,sp)=obl_rad2(m,n,c,x) computes the oblate sheroidal radial function
of the second kind and its derivative (with respect to x) for mode paramters
of the second kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``.
""")

add_newdoc("scipy.special", "obl_rad2_cv",
"""
(s,sp)=obl_rad2_cv(m,n,c,cv,x) computes the oblate sheroidal radial function
of the second kind and its derivative (with respect to x) for mode paramters
of the second kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")
Expand Down Expand Up @@ -1182,14 +1182,14 @@ def add_newdoc(place, name, doc):
add_newdoc("scipy.special", "pro_ang1",
"""
(s,sp)=pro_ang1(m,n,c,x) computes the prolate sheroidal angular function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``.
""")

add_newdoc("scipy.special", "pro_ang1_cv",
"""
(s,sp)=pro_ang1_cv(m,n,c,cv,x) computes the prolate sheroidal angular function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")
Expand All @@ -1203,29 +1203,29 @@ def add_newdoc(place, name, doc):
add_newdoc("scipy.special", "pro_rad1",
"""
(s,sp)=pro_rad1(m,n,c,x) computes the prolate sheroidal radial function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``.
""")

add_newdoc("scipy.special", "pro_rad1_cv",
"""
(s,sp)=pro_rad1_cv(m,n,c,cv,x) computes the prolate sheroidal radial function
of the first kind and its derivative (with respect to x) for mode paramters
of the first kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")

add_newdoc("scipy.special", "pro_rad2",
"""
(s,sp)=pro_rad2(m,n,c,x) computes the prolate sheroidal radial function
of the second kind and its derivative (with respect to x) for mode paramters
of the second kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and |x|<1.0.
""")

add_newdoc("scipy.special", "pro_rad2_cv",
"""
(s,sp)=pro_rad2_cv(m,n,c,cv,x) computes the prolate sheroidal radial function
of the second kind and its derivative (with respect to x) for mode paramters
of the second kind and its derivative (with respect to x) for mode parameters
m>=0 and n>=m, spheroidal parameter c and ``|x| < 1.0``. Requires pre-computed
characteristic value.
""")
Expand Down
2 changes: 1 addition & 1 deletion scipy/weave/common_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
if(PyCallable_Check(py_obj) && PyInstance_Check(py_obj)) return "callable";
if(PyInstance_Check(py_obj)) return "instance";
if(PyCallable_Check(py_obj)) return "callable";
return "unkown type";
return "unknown type";
}
void throw_error(PyObject* exc, const char* msg)
Expand Down
2 changes: 1 addition & 1 deletion scipy/weave/cpp_namespace_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ft_converter(cpp_namespace_converter):
class cpp_namespace_converter(base_converter):
_build_information = [common_info.swig_info()]
def __init__(self,class_name=None):
self.type_name = 'unkown cpp_object'
self.type_name = 'unknown cpp_object'
self.name = 'no name'
if class_name:
# customize support_code for whatever type I was handed.
Expand Down
2 changes: 1 addition & 1 deletion scipy/weave/doc/tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ TypeError.
if(PyCallable_Check(py_obj) && PyInstance_Check(py_obj)) return "callable";
if(PyInstance_Check(py_obj)) return "instance";
if(PyCallable_Check(py_obj)) return "callable";
return "unkown type";
return "unknown type";
}

Since the ``inline`` is also executed within the ``try/catch`` block, you can
Expand Down
2 changes: 1 addition & 1 deletion scipy/weave/doc/tutorial_original.html
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ <h3>A quick look at the code</h3>
if(PyCallable_Check(py_obj) &amp;&amp; PyInstance_Check(py_obj)) return "callable";
if(PyInstance_Check(py_obj)) return "instance";
if(PyCallable_Check(py_obj)) return "callable";
return "unkown type";
return "unknown type";
}
</code></pre>
</blockquote>
Expand Down

0 comments on commit 1b4a9a5

Please sign in to comment.