summaryrefslogtreecommitdiff
path: root/docs/src/userguide/source_files_and_compilation.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/userguide/source_files_and_compilation.rst')
-rw-r--r--docs/src/userguide/source_files_and_compilation.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/userguide/source_files_and_compilation.rst b/docs/src/userguide/source_files_and_compilation.rst
index edf51213e..a833c61ed 100644
--- a/docs/src/userguide/source_files_and_compilation.rst
+++ b/docs/src/userguide/source_files_and_compilation.rst
@@ -946,7 +946,8 @@ Cython code. Here is the list of currently supported directives:
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.
+ From Cython 3.0, ``annotation_typing`` can be set on a per-function or
+ per-class basis.
``emit_code_comments`` (True / False)
Copy the original source code line by line into C code comments in the generated