From 4a71756fc323ff4e7e30db254a28a6861e6dd071 Mon Sep 17 00:00:00 2001 From: Nauman Mustafa <14beenmustafa@seecs.nust.edu.pk> Date: Wed, 27 Sep 2017 15:36:49 +0500 Subject: [PATCH] Fix Documentation --- doc/source/function_declarations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/function_declarations.rst b/doc/source/function_declarations.rst index 5f134d3..2876353 100644 --- a/doc/source/function_declarations.rst +++ b/doc/source/function_declarations.rst @@ -29,4 +29,4 @@ Take some care with ``cdef`` declared functions; it looks like you are writing P ``cpdef`` - It's Both ---------------------------- -``cpdef`` functions combine both ``def`` and ``cdef`` by creating two functions; a ``cdef`` for C types and a ``def`` fr Python types. This exploits early binding so that ``cpdef`` functions may be as fast as possible when using C fundamental types (by using ``cdef``). ``cpdef`` functions use dynamic binding when passed Python objects and this might much slower, perhaps as slow as ``def`` declared functions. +``cpdef`` functions combine both ``def`` and ``cdef`` by creating two functions; a ``cdef`` for C types and a ``def`` for Python types. This exploits early binding so that ``cpdef`` functions may be as fast as possible when using C fundamental types (by using ``cdef``). ``cpdef`` functions use dynamic binding when passed Python objects and this might much slower, perhaps as slow as ``def`` declared functions.