diff options
Diffstat (limited to 'docs/src/userguide/language_basics.rst')
-rw-r--r-- | docs/src/userguide/language_basics.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/userguide/language_basics.rst b/docs/src/userguide/language_basics.rst index 6ccd7e804..99a9961e5 100644 --- a/docs/src/userguide/language_basics.rst +++ b/docs/src/userguide/language_basics.rst @@ -916,7 +916,7 @@ Cython uses ``"<"`` and ``">"``. In pure python mode, the ``cython.cast()`` fun def main(): p: cython.p_char q: cython.p_float - p = cast(cython.p_char, q) + p = cython.cast(cython.p_char, q) When casting a C value to a Python object type or vice versa, Cython will attempt a coercion. Simple examples are casts like ``cast(int, pyobj_value)``, @@ -1043,7 +1043,7 @@ direct equivalent in Python. p: cython.p_char q: cython.p_float - p = cast(cython.p_char, q) + p = cython.cast(cython.p_char, q) .. group-tab:: Cython |