summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-05-04 13:59:46 (GMT)
committerLarry Hastings <larry@hastings.org>2015-05-04 13:59:46 (GMT)
commitdbfdc380df615fe7e85107ff3954b8fff3ce7741 (patch)
tree25dd738cb50b260d6822ab76f39697c69e9a44c4 /Modules/_tkinter.c
parentcb985563739f00dcccb03189c95deba604155777 (diff)
downloadcpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.zip
cpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.tar.gz
cpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.tar.bz2
Issue #24001: Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 1f21c03..208ec47 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -3101,7 +3101,7 @@ _tkinter__flatten(PyModuleDef *module, PyObject *item)
/*[clinic input]
_tkinter.create
- screenName: str(nullable=True) = NULL
+ screenName: str(accept={str, NoneType}) = NULL
baseName: str = NULL
className: str = "Tk"
interactive: int(c_default="0") = False
@@ -3110,7 +3110,7 @@ _tkinter.create
if false, then Tk_Init() doesn't get called
sync: int(c_default="0") = False
if true, then pass -sync to wish
- use: str(nullable=True) = NULL
+ use: str(accept={str, NoneType}) = NULL
if not None, then pass -use to wish
/
@@ -3121,7 +3121,7 @@ _tkinter_create_impl(PyModuleDef *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=b8847800fc3b27eb input=c133c59a99dd0086]*/
+/*[clinic end generated code: output=b8847800fc3b27eb input=0d522aad1cb0ca0e]*/
{
/* XXX baseName is not used anymore;
* try getting rid of it. */