From: Robert Bradshaw Date: Fri, 27 Nov 2009 23:03:36 +0000 (-0800) Subject: Better M-dash (Jonas) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfdb368524f3bc91dc61da5364c94bd0a8fa500e;p=cython.git Better M-dash (Jonas) --- 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.