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
f1c30d79
Commit
f1c30d79
authored
Jan 11, 2018
by
Robert Bradshaw
Committed by
GitHub
Jan 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2066 from Myles1/master
Docs Update
parents
800e699c
06c7a621
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docs/src/reference/extension_types.rst
docs/src/reference/extension_types.rst
+1
-1
docs/src/reference/language_basics.rst
docs/src/reference/language_basics.rst
+1
-1
docs/src/userguide/numpy_pythran.rst
docs/src/userguide/numpy_pythran.rst
+1
-1
No files found.
docs/src/reference/extension_types.rst
View file @
f1c30d79
...
...
@@ -387,7 +387,7 @@ Extension Types and None
* Be very aware of exposing Python functions that take extension types as arguments::
def widen_shrubbery(Shrubbery sh, extra_width): # This is
def widen_shrubbery(Shrubbery sh, extra_width): # This is
dangerous
sh.width = sh.width + extra_width
* Users could **crash** the program by passing ``None`` for the ``sh`` parameter.
...
...
docs/src/reference/language_basics.rst
View file @
f1c30d79
...
...
@@ -332,7 +332,7 @@ Automatic Type Conversion
cdef char *s
s = pystring1 + pystring2
* The reason is that concatenating to strings in Python produces a temporary variable.
* The reason is that concatenating t
w
o strings in Python produces a temporary variable.
* The variable is decrefed, and the Python string deallocated as soon as the statement has finished,
...
...
docs/src/userguide/numpy_pythran.rst
View file @
f1c30d79
...
...
@@ -20,7 +20,7 @@ Usage example with distutils
----------------------------
You first need to install Pythran. See its `documentation
<http
s://pythonhosted.org/pythran/MANUAL.html
>`_ for more information.
<http
://pythran.readthedocs.io/en/latest/
>`_ for more information.
Then, simply add a ``cython: np_pythran=True`` directive at the top of the
Python files that needs to be compiled using Pythran numpy support.
...
...
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