diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-10-03 18:37:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 18:37:22 (GMT) |
commit | 929b40a601db868530d6beaafb3256822103a7fb (patch) | |
tree | c414a0407fbde28e3df976c4d58da0c32baad199 /Modules/clinic | |
parent | 543386b7f077d210ea0722079d68beb6c066730a (diff) | |
download | cpython-929b40a601db868530d6beaafb3256822103a7fb.zip cpython-929b40a601db868530d6beaafb3256822103a7fb.tar.gz cpython-929b40a601db868530d6beaafb3256822103a7fb.tar.bz2 |
bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864)
Diffstat (limited to 'Modules/clinic')
-rw-r--r-- | Modules/clinic/_tkinter.c.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Modules/clinic/_tkinter.c.h b/Modules/clinic/_tkinter.c.h index 040a745..6b8dabb 100644 --- a/Modules/clinic/_tkinter.c.h +++ b/Modules/clinic/_tkinter.c.h @@ -80,27 +80,27 @@ exit: return return_value; } -PyDoc_STRVAR(_tkinter_tkapp_adderrinfo__doc__, -"adderrinfo($self, msg, /)\n" +PyDoc_STRVAR(_tkinter_tkapp_adderrorinfo__doc__, +"adderrorinfo($self, msg, /)\n" "--\n" "\n"); -#define _TKINTER_TKAPP_ADDERRINFO_METHODDEF \ - {"adderrinfo", (PyCFunction)_tkinter_tkapp_adderrinfo, METH_O, _tkinter_tkapp_adderrinfo__doc__}, +#define _TKINTER_TKAPP_ADDERRORINFO_METHODDEF \ + {"adderrorinfo", (PyCFunction)_tkinter_tkapp_adderrorinfo, METH_O, _tkinter_tkapp_adderrorinfo__doc__}, static PyObject * -_tkinter_tkapp_adderrinfo_impl(TkappObject *self, const char *msg); +_tkinter_tkapp_adderrorinfo_impl(TkappObject *self, const char *msg); static PyObject * -_tkinter_tkapp_adderrinfo(TkappObject *self, PyObject *arg) +_tkinter_tkapp_adderrorinfo(TkappObject *self, PyObject *arg) { PyObject *return_value = NULL; const char *msg; - if (!PyArg_Parse(arg, "s:adderrinfo", &msg)) { + if (!PyArg_Parse(arg, "s:adderrorinfo", &msg)) { goto exit; } - return_value = _tkinter_tkapp_adderrinfo_impl(self, msg); + return_value = _tkinter_tkapp_adderrorinfo_impl(self, msg); exit: return return_value; @@ -638,4 +638,4 @@ exit: #ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #endif /* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */ -/*[clinic end generated code: output=3b9241f7c703ae4f input=a9049054013a1b77]*/ +/*[clinic end generated code: output=ca36236c57713ba0 input=a9049054013a1b77]*/ |