diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py
index 01acb5e1c611021654502889ddda9da0044296ea..259e7185d4617699c6ef378225212e84b5dc6210 100644
--- a/Cython/Compiler/PyrexTypes.py
+++ b/Cython/Compiler/PyrexTypes.py
@@ -2296,7 +2296,6 @@ class CArrayType(CPointerBaseType):
         context = {
             'cname': from_py_function,
             'base_type': base_type,
-            'from_py_func': self.base_type.from_py_function,
         }
         env.use_utility_code(CythonUtilityCode.load(
             "carray.from_py", "CConvert.pyx",