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
4c420b44
Commit
4c420b44
authored
May 05, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify documentation on "language_level" setting for included files.
Closes #2229.
parent
4737b53a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+3
-3
No files found.
docs/src/reference/compilation.rst
View file @
4c420b44
...
@@ -628,9 +628,9 @@ Cython code. Here is the list of currently supported directives:
...
@@ -628,9 +628,9 @@ Cython code. Here is the list of currently supported directives:
compilation. Default is compatibility with Python 2. To enable
compilation. Default is compatibility with Python 2. To enable
Python 3 source code semantics, set this to 3 at the start of a
Python 3 source code semantics, set this to 3 at the start of a
module or pass the "-3" command line option to the compiler.
module or pass the "-3" command line option to the compiler.
Note that cimported
and included source files inherit this
Note that cimported
files inherit this setting from the module
setting from the module being compiled, unless they explicitly
being compiled, unless they explicitly set their own language level.
set their own language level
.
Included source files always inherit this setting
.
``c_string_type`` (bytes / str / unicode)
``c_string_type`` (bytes / str / unicode)
Globally set the type of an implicit coercion from char* or std::string.
Globally set the type of an implicit coercion from char* or std::string.
...
...
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