Commit 52dc7120 authored by Stefan Behnel's avatar Stefan Behnel

Mention more prominently in the docs that PEP-484/526 are supported normally.

Closes #2587.
parent e9b67571
...@@ -12,7 +12,10 @@ about 20%-50%. ...@@ -12,7 +12,10 @@ about 20%-50%.
To go beyond that, Cython provides language constructs to add static typing To go beyond that, Cython provides language constructs to add static typing
and cythonic functionalities to a Python module to make it run much faster and cythonic functionalities to a Python module to make it run much faster
when compiled, while still allowing it to be interpreted. when compiled, while still allowing it to be interpreted.
This is accomplished either via an augmenting :file:`.pxd` file, or This is accomplished either via an augmenting ``.pxd`` file, via Python
type annotations (following
`PEP 484 <https://www.python.org/dev/peps/pep-0484/>`_ and
`PEP 526 <https://www.python.org/dev/peps/pep-0526/>`_), or
via special functions and decorators available after importing the magic via special functions and decorators available after importing the magic
``cython`` module. ``cython`` module.
......
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