From: Stefan Behnel Date: Sun, 6 Feb 2011 16:59:49 +0000 (+0100) Subject: sphinx fixes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1bd2227a5393a1780cb840437d8392ec1e88c86;p=cython.git sphinx fixes --- diff --git a/src/userguide/limitations.rst b/src/userguide/limitations.rst index 1f0f599d..6dbadc8f 100644 --- a/src/userguide/limitations.rst +++ b/src/userguide/limitations.rst @@ -30,7 +30,7 @@ Other Current Limitations ========================== * The :func:`globals` builtin returns the last Python callers globals, not the current function's locals. This behavior should not be relied upon, as it will probably change in the future. -* The :fun:`locals` builtin can only be used if all local variables can be converted to Python objects, and returns a dict. +* The :func:`locals` builtin can only be used if all local variables can be converted to Python objects, and returns a dict. * Class and function definitions cannot be placed inside control structures. Semantic differences between Python and Cython diff --git a/src/userguide/pxd_package.rst b/src/userguide/pxd_package.rst index 7f424b65..df733e8d 100644 --- a/src/userguide/pxd_package.rst +++ b/src/userguide/pxd_package.rst @@ -15,7 +15,7 @@ called 'foo', and its fully qualified module name is 'foo.shrubbing'. So when Pyrex wants to find out whether there is a `.pxd` file for shrubbing, -it looks for one corresponding to a module called :module:`foo.shrubbing`. It +it looks for one corresponding to a module called `foo.shrubbing`. It does this by searching the include path for a top-level package directory called 'foo' containing a file called 'shrubbing.pxd'.