diff options
author | Steve Dower <steve.dower@python.org> | 2024-02-12 20:13:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 20:13:13 (GMT) |
commit | 7861dfd26a41e40c2b4361eb0bb1356b9b4a064b (patch) | |
tree | efedf1257dbc2e4b6be5aaab340194d644d57a0b /Modules/_tkinter.c | |
parent | a82fbc13d0e352b9af7d7ffbef4bc04cf635f07f (diff) | |
download | cpython-7861dfd26a41e40c2b4361eb0bb1356b9b4a064b.zip cpython-7861dfd26a41e40c2b4361eb0bb1356b9b4a064b.tar.gz cpython-7861dfd26a41e40c2b4361eb0bb1356b9b4a064b.tar.bz2 |
gh-111140: Adds PyLong_AsNativeBytes and PyLong_FromNative[Unsigned]Bytes functions (GH-114886)
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f618116..e378986 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -926,7 +926,8 @@ AsObj(PyObject *value) (unsigned char *)(void *)&wideValue, sizeof(wideValue), PY_LITTLE_ENDIAN, - /* signed */ 1) == 0) { + /* signed */ 1, + /* with_exceptions */ 1) == 0) { return Tcl_NewWideIntObj(wideValue); } PyErr_Clear(); |