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
Boxiang Sun
cython
Commits
dd07859e
Commit
dd07859e
authored
May 31, 2015
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #394 from mineo/patch-1
Fix the placement of a closing bracket
parents
ec32142f
c3bfbf8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/src/userguide/source_files_and_compilation.rst
docs/src/userguide/source_files_and_compilation.rst
+2
-2
No files found.
docs/src/userguide/source_files_and_compilation.rst
View file @
dd07859e
...
@@ -86,8 +86,8 @@ Pyximport
...
@@ -86,8 +86,8 @@ Pyximport
Cython is a compiler. Therefore it is natural that people tend to go
Cython is a compiler. Therefore it is natural that people tend to go
through an edit/compile/test cycle with Cython modules. But my personal
through an edit/compile/test cycle with Cython modules. But my personal
opinion is that one of the deep insights in Python's implementation is
opinion is that one of the deep insights in Python's implementation is
that a language can be compiled (Python modules are compiled to ``.pyc``
)
that a language can be compiled (Python modules are compiled to ``.pyc``
files and hide that compilation process from the end-user so that they
files
)
and hide that compilation process from the end-user so that they
do not have to worry about it. Pyximport does this for Cython modules.
do not have to worry about it. Pyximport does this for Cython modules.
For instance if you write a Cython module called :file:`foo.pyx`, with
For instance if you write a Cython module called :file:`foo.pyx`, with
Pyximport you can import it in a regular Python module like this::
Pyximport you can import it in a regular Python module like this::
...
...
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