summaryrefslogtreecommitdiff
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-12 10:10:47 +0200
committerGitHub <noreply@github.com>2017-03-12 10:10:47 +0200
commit202fda55c2dffe27125703225e5af92254602dc6 (patch)
treeafc430d7fa6bdda7251bb60703ff192b9c8a37e1 /Modules/_tkinter.c
parent0767ad40bfe83525d2ba290cc6eb7c97ce01cdd6 (diff)
downloadcpython-git-202fda55c2dffe27125703225e5af92254602dc6.tar.gz
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 1abc0e225e..ff51674531 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -3199,11 +3199,11 @@ _tkinter.create
screenName: str(accept={str, NoneType}) = NULL
baseName: str = NULL
className: str = "Tk"
- interactive: int(c_default="0") = False
- wantobjects: int(c_default="0") = False
- wantTk: int(c_default="1") = True
+ interactive: bool(accept={int}) = False
+ wantobjects: bool(accept={int}) = False
+ wantTk: bool(accept={int}) = True
if false, then Tk_Init() doesn't get called
- sync: int(c_default="0") = False
+ sync: bool(accept={int}) = False
if true, then pass -sync to wish
use: str(accept={str, NoneType}) = NULL
if not None, then pass -use to wish
@@ -3216,7 +3216,7 @@ _tkinter_create_impl(PyObject *module, const char *screenName,
const char *baseName, const char *className,
int interactive, int wantobjects, int wantTk, int sync,
const char *use)
-/*[clinic end generated code: output=e3315607648e6bb4 input=0d522aad1cb0ca0e]*/
+/*[clinic end generated code: output=e3315607648e6bb4 input=431907c134c80085]*/
{
/* XXX baseName is not used anymore;
* try getting rid of it. */