Commit 4fa791c8 authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Clarify top-of-file comment directives.

parent 473c969b
...@@ -920,10 +920,9 @@ How to set directives ...@@ -920,10 +920,9 @@ How to set directives
Globally 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 The comment must appear before any code (but can appear after other
comments or whitespace). comments or whitespace).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment