From: Stefan Behnel Date: Wed, 19 Nov 2008 07:37:21 +0000 (+0100) Subject: PyDict_Copy() can be used for dict.copy() X-Git-Tag: 0.11-beta~231 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5df4c24202429036a5f4f3d29655b9e49570df8;p=cython.git PyDict_Copy() can be used for dict.copy() --- 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", []),