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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
00141382
Commit
00141382
authored
Nov 26, 2015
by
Jakub Wilk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Fix typos.
parent
adf3c18b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+1
-1
docs/src/reference/extension_types.rst
docs/src/reference/extension_types.rst
+4
-4
docs/src/tutorial/profiling_tutorial.rst
docs/src/tutorial/profiling_tutorial.rst
+1
-1
docs/src/userguide/extension_types.rst
docs/src/userguide/extension_types.rst
+1
-1
docs/src/userguide/parallelism.rst
docs/src/userguide/parallelism.rst
+1
-1
docs/src/userguide/wrapping_CPlusPlus.rst
docs/src/userguide/wrapping_CPlusPlus.rst
+1
-1
No files found.
docs/src/reference/compilation.rst
View file @
00141382
...
...
@@ -415,7 +415,7 @@ Configurable optimisations
``optimize.unpack_method_calls`` (True / False)
Cython can generate code that optimistically checks for Python method objects
at call time and unpacks the underlying function to call it directly. This
can substantially speed up method calls, especially for bultins, but may also
can substantially speed up method calls, especially for bu
i
ltins, but may also
have a slight negative performance impact in some cases where the guess goes
completely wrong.
Disabling this option can also reduce the code size. Default is True.
...
...
docs/src/reference/extension_types.rst
View file @
00141382
...
...
@@ -314,11 +314,11 @@ Subclassing
* If the base type is a built-in type, it must have been previously declared as an ``extern`` extension type.
* ``cimport`` can be used to import the base type, if the extern declared base type is in a ``.pxd`` definition file.
* In Cython, multiple inheritance is not permitted.. sing
l
ular inheritance only
* In Cython, multiple inheritance is not permitted.. singular inheritance only
* Cython extens
t
ion types can also be sub-classed in Python.
* Cython extension types can also be sub-classed in Python.
* Here multiple inhertance is permissible as is normal for Python.
* Here multiple inher
i
tance is permissible as is normal for Python.
* Even multiple extension types may be inherited, but C-layout of all the base classes must be compatible.
...
...
@@ -448,7 +448,7 @@ External
print "Imag:", c.cval.imag
.. note:: Some important things in the example:
#. ``ctypedef`` has been used because Python's header file has the struct dec
a
lared with::
#. ``ctypedef`` has been used because Python's header file has the struct declared with::
ctypedef struct {
...
...
...
docs/src/tutorial/profiling_tutorial.rst
View file @
00141382
...
...
@@ -164,7 +164,7 @@ write a short script to profile our code::
Running this on my box gives the following output::
TODO: how to display this not as code but verbatim
ly?
TODO: how to display this not as code but verbatim
?
Sat Nov 7 17:40:54 2009 Profile.prof
...
...
docs/src/userguide/extension_types.rst
View file @
00141382
...
...
@@ -649,7 +649,7 @@ When you declare::
the name Spam serves both these roles. There may be other names by which you
can refer to the constructor, but only Spam can be used as a type name. For
example, if you were to explicity import MyModule, you could use
example, if you were to explicit
l
y import MyModule, you could use
``MyModule.Spam()`` to create a Spam instance, but you wouldn't be able to use
:class:`MyModule.Spam` as a type name.
...
...
docs/src/userguide/parallelism.rst
View file @
00141382
...
...
@@ -94,7 +94,7 @@ It currently supports OpenMP, but later on more backends might be supported.
The ``chunksize`` argument indicates the chunksize to be used for dividing the iterations among threads.
This is only valid for ``static``, ``dynamic`` and ``guided`` scheduling, and is optional. Different chunksizes
may give substatially different performance results, depending on the schedule, the load balance it provides,
may give substa
n
tially different performance results, depending on the schedule, the load balance it provides,
the scheduling overhead and the amount of false sharing (if any).
Example with a reduction::
...
...
docs/src/userguide/wrapping_CPlusPlus.rst
View file @
00141382
...
...
@@ -166,7 +166,7 @@ version 0.17, Cython also allows to pass external source files into the
And in the .pyx source file, write this into the first comment block, before
any source code, to compile it in C++ mode and link it statically against the
:file:`Rectange.cpp` code file::
:file:`Rectang
l
e.cpp` code file::
# distutils: language = c++
# distutils: sources = Rectangle.cpp
...
...
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