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
1ba47438
Commit
1ba47438
authored
May 11, 2015
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #385 from hamogu/patch-1
Fix two small sphinx errors in the tutorials
parents
4e65f8f1
4db191ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docs/src/tutorial/memory_allocation.rst
docs/src/tutorial/memory_allocation.rst
+1
-1
docs/src/tutorial/numpy.rst
docs/src/tutorial/numpy.rst
+1
-1
No files found.
docs/src/tutorial/memory_allocation.rst
View file @
1ba47438
...
...
@@ -22,7 +22,7 @@ management in C.
Simple C values and structs (such as a local variable ``cdef double x``) are
usually allocated on the stack and passed by value, but for larger and more
complicated objects (e.g. a dynamically-sized list of doubles), the memory must
be manually requested and released. C provides the functions :c:func`malloc`,
be manually requested and released. C provides the functions :c:func
:
`malloc`,
:c:func:`realloc`, and :c:func:`free` for this purpose, which can be imported
in cython from ``clibc.stdlib``. Their signatures are:
...
...
docs/src/tutorial/numpy.rst
View file @
1ba47438
...
...
@@ -234,7 +234,7 @@ The array lookups are still slowed down by two factors:
Now bounds checking is not performed (and, as a side-effect, if you ''do''
happen to access out of bounds you will in the best case crash your program
and in the worst case corrupt data). It is possible to switch bounds-checking
mode in many ways, see
[:reference/directives:compiler directives]
for more
mode in many ways, see
:ref:`compiler-directives`
for more
information.
Negative indices are dealt with by ensuring Cython that the indices will be
...
...
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