summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-11 18:57:29 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-11 18:57:29 (GMT)
commit44620646fd7666dffa362137c9b69a3c9e18c715 (patch)
treee78b66f15156ceef5da8c14156033b4b9e8b2a36 /Modules/_tkinter.c
parent0357d02eab8c6df2af6abb68603600b8d6a54831 (diff)
downloadcpython-44620646fd7666dffa362137c9b69a3c9e18c715.zip
cpython-44620646fd7666dffa362137c9b69a3c9e18c715.tar.gz
cpython-44620646fd7666dffa362137c9b69a3c9e18c715.tar.bz2
Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
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 f45e29c..c3d1b61 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1480,7 +1480,7 @@ void
init_tkinter()
{
#ifndef WIN32
- extern int (*Py_input_hook) ();
+ extern int (*PyOS_InputHook) ();
#endif
PyObject *m, *d;
@@ -1506,8 +1506,8 @@ init_tkinter()
ins_string(d, "TCL_VERSION", TCL_VERSION);
#ifndef WIN32
- if (Py_input_hook == NULL)
- Py_input_hook = EventHook;
+ if (PyOS_InputHook == NULL)
+ PyOS_InputHook = EventHook;
#endif
if (PyErr_Occurred())