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
Kirill Smelkov
cython
Commits
55398f58
Commit
55398f58
authored
Mar 14, 2018
by
gabrieldemarmiesse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the print python 3 style. pep8 and link to memoryviews.
parent
831ce22f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/src/tutorial/cython_tutorial.rst
docs/src/tutorial/cython_tutorial.rst
+3
-3
No files found.
docs/src/tutorial/cython_tutorial.rst
View file @
55398f58
...
...
@@ -34,7 +34,7 @@ things in getting started is just figuring out how to compile your extension.
So lets start with the canonical python hello world::
print
"Hello World"
print
("Hello World")
Save this code in a file named :file:`helloworld.pyx`. Now we need to create
the :file:`setup.py`, which is like a python Makefile (for more information
...
...
@@ -85,7 +85,7 @@ Cython will still fail to compile a lot of Python modules, in which
case the import mechanism will fall back to loading the Python source
modules instead. The .py import mechanism is installed like this::
>>> pyximport.install(pyimport
=
True)
>>> pyximport.install(pyimport
=
True)
Note that it is not recommended to let :mod:`pyximport` build code
on end user side as it hooks into their import system. The best way
...
...
@@ -170,5 +170,5 @@ Language Details
For more about the Cython language, see :ref:`language-basics`.
To dive right in to using Cython in a numerical computation context,
see :ref:`
numpy_tutorial
`.
see :ref:`
memoryviews
`.
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