From 456149b52f2410c1d7ff2b9ca1da8f50a29192a6 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 27 Jun 2012 23:35:06 +0200 Subject: [PATCH] more rst fixes --- docs/src/userguide/pyrex_differences.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/userguide/pyrex_differences.rst b/docs/src/userguide/pyrex_differences.rst index 21aa16f..7c97948 100644 --- a/docs/src/userguide/pyrex_differences.rst +++ b/docs/src/userguide/pyrex_differences.rst @@ -237,10 +237,10 @@ In Cython ``x`` will try and do a coercion (as would happen on assignment It does not stop one from casting where there is no conversion (though it will emit a warning). If one really wants the address, cast to a ``void *`` first. -As in Pyrex ``x`` will cast ``x`` to type :ctype:`MyExtensionType` without any +As in Pyrex ``x`` will cast ``x`` to type :c:type:`MyExtensionType` without any type checking. Cython supports the syntax ```` to do the cast with type checking (i.e. it will throw an error if ``x`` is not a (subclass of) -:ctype:`MyExtensionType`. +:c:type:`MyExtensionType`. Optional arguments in cdef/cpdef functions ============================================ -- 2.7.4