Commit cfdb3685 authored by Robert Bradshaw's avatar Robert Bradshaw

Better M-dash (Jonas)

parent 00cc5636
...@@ -71,7 +71,7 @@ This results in a 4 times speedup over the pure Python version. ...@@ -71,7 +71,7 @@ This results in a 4 times speedup over the pure Python version.
Typing Functions Typing Functions
---------------- ----------------
Python function calls can be expensive--in Cython doubly so because Python function calls can be expensive -- in Cython doubly so because
one might need to convert to and from Python objects to do the call. one might need to convert to and from Python objects to do the call.
In our example above, the argument is assumed to be a C double both inside f() In our example above, the argument is assumed to be a C double both inside f()
and in the call to it, yet a Python ``float`` object must be constructed around the and in the call to it, yet a Python ``float`` object must be constructed around the
......
...@@ -2,7 +2,7 @@ pxd files ...@@ -2,7 +2,7 @@ pxd files
========= =========
In addition to the ``.pyx`` source files, Cython uses ``.pxd`` files In addition to the ``.pyx`` source files, Cython uses ``.pxd`` files
which work like C header files--they contain Cython declarations which work like C header files -- they contain Cython declarations
(and sometimes code sections) which are only meant for inclusion by (and sometimes code sections) which are only meant for inclusion by
Cython modules. A ``pxd`` file is imported into a ``pyx`` module by Cython modules. A ``pxd`` file is imported into a ``pyx`` module by
using the ``cimport`` keyword. using the ``cimport`` keyword.
......
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