diff options
author | Stefano Rivera <stefano@rivera.za.net> | 2020-10-09 17:58:40 -0700 |
---|---|---|
committer | Stefano Rivera <stefano@rivera.za.net> | 2020-10-09 17:58:40 -0700 |
commit | 441f9498a83116b46e349bf86713b5b1c4f6f363 (patch) | |
tree | 77b271280d24621a6dfc1c17e7e1f5d63e02e440 /lib_pypy | |
parent | This is Python 2, no f-strings yet (diff) | |
download | pypy-441f9498a83116b46e349bf86713b5b1c4f6f363.tar.gz pypy-441f9498a83116b46e349bf86713b5b1c4f6f363.tar.bz2 pypy-441f9498a83116b46e349bf86713b5b1c4f6f363.zip |
blind commit: Hopefully fixing test.test_tcl.TclTest.test_getint on linux32
Diffstat (limited to 'lib_pypy')
-rw-r--r-- | lib_pypy/_tkinter/tclobj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/_tkinter/tclobj.py b/lib_pypy/_tkinter/tclobj.py index f5cff6930d..41f7dfccf6 100644 --- a/lib_pypy/_tkinter/tclobj.py +++ b/lib_pypy/_tkinter/tclobj.py @@ -51,7 +51,7 @@ def FromWideIntObj(app, value): wide = tkffi.new("Tcl_WideInt*") if tklib.Tcl_GetWideIntFromObj(app.interp, value, wide) != tklib.TCL_OK: app.raiseTclError() - return wide[0] + return int(wide[0]) # Only when tklib.HAVE_LIBTOMMATH! def FromBignumObj(app, value): |