[pypy-commit] pypy default: add method used in matplotlib
mattip
pypy.commits at gmail.com
Sun Nov 5 14:28:05 EST 2017
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r92950:bab05da3f317
Date: 2017-11-05 21:17 +0200
http://bitbucket.org/pypy/pypy/changeset/bab05da3f317/
Log: add method used in matplotlib
diff --git a/lib_pypy/_tkinter/app.py b/lib_pypy/_tkinter/app.py
--- a/lib_pypy/_tkinter/app.py
+++ b/lib_pypy/_tkinter/app.py
@@ -180,6 +180,9 @@
if err == tklib.TCL_ERROR:
self.raiseTclError()
+ def interpaddr(self):
+ return int(tkffi.cast('size_t', self.interp))
+
def _var_invoke(self, func, *args, **kwargs):
if self.threaded and self.thread_id != tklib.Tcl_GetCurrentThread():
# The current thread is not the interpreter thread.
More information about the pypy-commit
mailing list