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
Xavier Thompson
cython
Commits
12ee4a15
Commit
12ee4a15
authored
Nov 08, 2018
by
Robert Bradshaw
Committed by
Stefan Behnel
Nov 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify top-of-file comment directives.
parent
4c7a9888
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
docs/src/userguide/source_files_and_compilation.rst
docs/src/userguide/source_files_and_compilation.rst
+2
-3
No files found.
docs/src/userguide/source_files_and_compilation.rst
View file @
12ee4a15
...
...
@@ -920,10 +920,9 @@ How to set directives
Globally
:::::::::
One can set compiler directives through a special header comment
at
the top of the file, like this::
One can set compiler directives through a special header comment
near
the top of the file, like this::
#!python
#cython: language_level=3, boundscheck=False
# cython: language_level=3, boundscheck=False
The comment must appear before any code (but can appear after other
comments or whitespace).
...
...
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