Commit aa949a3b authored by Takuro Ashie's avatar Takuro Ashie

Fix typos in docs

parent 5b6497c8
...@@ -306,7 +306,7 @@ Depending on the application, one way or the other may be better: ...@@ -306,7 +306,7 @@ Depending on the application, one way or the other may be better:
+-----+-----+-------+ +-----+-----+-------+
The named constants can be cimported from the ``cpython.object`` module. The named constants can be cimported from the ``cpython.object`` module.
They should generally be preferred over plain integers to improve readabilty. They should generally be preferred over plain integers to improve readability.
The ``__next__()`` Method The ``__next__()`` Method
......
...@@ -47,7 +47,7 @@ fast for use from Cython and one slower for use from Python. Then:: ...@@ -47,7 +47,7 @@ fast for use from Cython and one slower for use from Python. Then::
return sin(x**2) return sin(x**2)
This does slightly more than providing a python wrapper for a cdef This does slightly more than providing a python wrapper for a cdef
method: unlike a cdef method, a cpdef method is fully overrideable by method: unlike a cdef method, a cpdef method is fully overridable by
methods and instance attributes in Python subclasses. It adds a methods and instance attributes in Python subclasses. It adds a
little calling overhead compared to a cdef method. little calling overhead compared to a cdef method.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment