From d5df4c24202429036a5f4f3d29655b9e49570df8 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 19 Nov 2008 08:37:21 +0100 Subject: [PATCH] PyDict_Copy() can be used for dict.copy() --- Cython/Compiler/Builtin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 10c7bbec..f08de217 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -106,7 +106,8 @@ builtin_types_table = [ ("dict", "PyDict_Type", [("items", "O", "O", "PyDict_Items"), ("keys", "O", "O", "PyDict_Keys"), - ("values","O", "O", "PyDict_Values")]), + ("values","O", "O", "PyDict_Values"), + ("copy", "O", "O", "PyDict_Copy")]), ("slice", "PySlice_Type", []), ("file", "PyFile_Type", []), -- 2.26.2