Lines Matching defs:copy
3015 PyObject *copy;
3063 /* Use fast-copy if:
3070 do fast-copy only if it has at most 1/3 non-used keys.
3075 PyDict_Merge, which produces a compacted copy.
3098 copy = PyDict_New();
3099 if (copy == NULL)
3101 if (dict_merge(copy, o, 1) == 0)
3102 return copy;
3103 Py_DECREF(copy);
3647 "D.copy() -> a shallow copy of D");
3682 {"copy", (PyCFunction)dict_copy, METH_NOARGS,
4505 /* copy the iterator state */