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
af997e97
Commit
af997e97
authored
Nov 12, 2019
by
da-woods
Committed by
Stefan Behnel
Nov 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documented annotation_typing compiler option (#3232)
parent
64b674f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
docs/src/userguide/source_files_and_compilation.rst
docs/src/userguide/source_files_and_compilation.rst
+6
-0
No files found.
docs/src/userguide/source_files_and_compilation.rst
View file @
af997e97
...
...
@@ -859,6 +859,12 @@ Cython code. Here is the list of currently supported directives:
asyncio before Python 3.5. This directive can be applied in modules or
selectively as decorator on an async-def coroutine to make the affected
coroutine(s) iterable and thus directly interoperable with yield-from.
``annotation_typing`` (True / False)
Uses function argument annotations to determine the type of variables. Default
is True, but can be disabled. Since Python does not enforce types given in
annotations, setting to False gives greater compatibility with Python code.
Must be set globally.
.. _configurable_optimisations:
...
...
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