Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a couple of spelling errors #382

Merged
merged 1 commit into from Dec 19, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/tutorial/weave.rst
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
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
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
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
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
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
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
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