Skip to content

Commit

Permalink
Issue python#29311: Regenerate Argument Clinic.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Feb 4, 2017
1 parent bbd2569 commit 19d2597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Objects/clinic/dictobject.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PyDoc_STRVAR(dict___contains____doc__,
"__contains__($self, key, /)\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 \
{"__contains__", (PyCFunction)dict___contains__, METH_O|METH_COEXIST, dict___contains____doc__},
Expand Down Expand Up @@ -115,4 +115,4 @@ dict_setdefault(PyDictObject *self, PyObject **args, Py_ssize_t nargs, PyObject
exit:
return return_value;
}
/*[clinic end generated code: output=91aa6a9f3c402b1b input=a9049054013a1b77]*/
/*[clinic end generated code: output=4d57df133cf66e53 input=a9049054013a1b77]*/
2 changes: 1 addition & 1 deletion Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@ True if the dictionary has the specified key, else False.

static PyObject *
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;
Py_hash_t hash;
Expand Down

0 comments on commit 19d2597

Please sign in to comment.