Issue #29311: Regenerate Argument Clinic.

This commit is contained in:
Serhiy Storchaka 2017-02-04 08:05:07 +02:00
parent bbd256984d
commit 19d2597ed5
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ PyDoc_STRVAR(dict___contains____doc__,
"__contains__($self, key, /)\n" "__contains__($self, key, /)\n"
"--\n" "--\n"
"\n" "\n"
"True if the dictionary has a specified key, else False."); "True if the dictionary has the specified key, else False.");
#define DICT___CONTAINS___METHODDEF \ #define DICT___CONTAINS___METHODDEF \
{"__contains__", (PyCFunction)dict___contains__, METH_O|METH_COEXIST, dict___contains____doc__}, {"__contains__", (PyCFunction)dict___contains__, METH_O|METH_COEXIST, dict___contains____doc__},
@ -115,4 +115,4 @@ dict_setdefault(PyDictObject *self, PyObject **args, Py_ssize_t nargs, PyObject
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=91aa6a9f3c402b1b input=a9049054013a1b77]*/ /*[clinic end generated code: output=4d57df133cf66e53 input=a9049054013a1b77]*/

View File

@ -2769,7 +2769,7 @@ True if the dictionary has the specified key, else False.
static PyObject * static PyObject *
dict___contains__(PyDictObject *self, PyObject *key) dict___contains__(PyDictObject *self, PyObject *key)
/*[clinic end generated code: output=a3d03db709ed6e6b input=f39613886bf975b7]*/ /*[clinic end generated code: output=a3d03db709ed6e6b input=fe1cb42ad831e820]*/
{ {
register PyDictObject *mp = self; register PyDictObject *mp = self;
Py_hash_t hash; Py_hash_t hash;