From cfdb368524f3bc91dc61da5364c94bd0a8fa500e Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 27 Nov 2009 15:03:36 -0800 Subject: [PATCH] Better M-dash (Jonas) --- src/quickstart/cythonize.rst | 2 +- src/tutorial/pxd_files.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quickstart/cythonize.rst b/src/quickstart/cythonize.rst index f3fd5250..f7e98902 100644 --- a/src/quickstart/cythonize.rst +++ b/src/quickstart/cythonize.rst @@ -71,7 +71,7 @@ This results in a 4 times speedup over the pure Python version. 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. 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 diff --git a/src/tutorial/pxd_files.rst b/src/tutorial/pxd_files.rst index c120c8b9..1a89136b 100644 --- a/src/tutorial/pxd_files.rst +++ b/src/tutorial/pxd_files.rst @@ -2,7 +2,7 @@ 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 Cython modules. A ``pxd`` file is imported into a ``pyx`` module by using the ``cimport`` keyword. -- 2.26.2