Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
fbcf496e
Commit
fbcf496e
authored
Dec 28, 2015
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #475 from jwilk/spelling
docs: Fix typos.
parents
20f028eb
91923e85
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
docs/src/reference/extension_types.rst
docs/src/reference/extension_types.rst
+1
-1
docs/src/tutorial/numpy.rst
docs/src/tutorial/numpy.rst
+1
-1
docs/src/userguide/numpy_tutorial.rst
docs/src/userguide/numpy_tutorial.rst
+1
-1
docs/src/userguide/wrapping_CPlusPlus.rst
docs/src/userguide/wrapping_CPlusPlus.rst
+1
-1
No files found.
docs/src/reference/extension_types.rst
View file @
fbcf496e
...
@@ -36,7 +36,7 @@ Attributes
...
@@ -36,7 +36,7 @@ Attributes
* Are fixed at compile time.
* Are fixed at compile time.
* You can't add attributes to an extension type instance at run time like in normal Python.
* You can't add attributes to an extension type instance at run time like in normal Python.
* You can sub-class the extens
t
ion type in Python to add attributes at run-time.
* You can sub-class the extension type in Python to add attributes at run-time.
* There are two ways to access extension type attributes:
* There are two ways to access extension type attributes:
...
...
docs/src/tutorial/numpy.rst
View file @
fbcf496e
...
@@ -126,7 +126,7 @@ compatibility. Consider this code (*read the comments!*) ::
...
@@ -126,7 +126,7 @@ compatibility. Consider this code (*read the comments!*) ::
raise ValueError("Only odd dimensions on filter supported")
raise ValueError("Only odd dimensions on filter supported")
assert f.dtype == DTYPE and g.dtype == DTYPE
assert f.dtype == DTYPE and g.dtype == DTYPE
# The "cdef" keyword is also used within functions to type variables. It
# The "cdef" keyword is also used within functions to type variables. It
# can only be used at the top inden
d
ation level (there are non-trivial
# can only be used at the top inden
t
ation level (there are non-trivial
# problems with allowing them in other places, though we'd love to see
# problems with allowing them in other places, though we'd love to see
# good and thought out proposals for it).
# good and thought out proposals for it).
#
#
...
...
docs/src/userguide/numpy_tutorial.rst
View file @
fbcf496e
...
@@ -263,7 +263,7 @@ compatibility. Here's :file:`convolve2.pyx`. *Read the comments!* ::
...
@@ -263,7 +263,7 @@ compatibility. Here's :file:`convolve2.pyx`. *Read the comments!* ::
raise ValueError("Only odd dimensions on filter supported")
raise ValueError("Only odd dimensions on filter supported")
assert f.dtype == DTYPE and g.dtype == DTYPE
assert f.dtype == DTYPE and g.dtype == DTYPE
# The "cdef" keyword is also used within functions to type variables. It
# The "cdef" keyword is also used within functions to type variables. It
# can only be used at the top inden
d
ation level (there are non-trivial
# can only be used at the top inden
t
ation level (there are non-trivial
# problems with allowing them in other places, though we'd love to see
# problems with allowing them in other places, though we'd love to see
# good and thought out proposals for it).
# good and thought out proposals for it).
#
#
...
...
docs/src/userguide/wrapping_CPlusPlus.rst
View file @
fbcf496e
...
@@ -145,7 +145,7 @@ is then handled by ``cythonize()`` as follows::
...
@@ -145,7 +145,7 @@ is then handled by ``cythonize()`` as follows::
from Cython.Build import cythonize
from Cython.Build import cythonize
setup(ext_modules = cythonize(Extension(
setup(ext_modules = cythonize(Extension(
"rect", # the extesion name
"rect", # the exte
n
sion name
sources=["rect.pyx", "Rectangle.cpp"], # the Cython source and
sources=["rect.pyx", "Rectangle.cpp"], # the Cython source and
# additional C++ source files
# additional C++ source files
language="c++", # generate and compile C++ code
language="c++", # generate and compile C++ code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment