diff Modules/_tkinter.c @ 5973:e77847e1158e legacy-trunk

Renamed Py_input_hook to PyOS_InputHook. Also cleaned out some CR's left by the VC++ editor.
author Guido van Rossum <guido@python.org>
date Mon, 11 Aug 1997 18:57:29 +0000
parents d3835a6a18c9
children b5804154af4d
line wrap: on
line diff
--- a/Modules/_tkinter.c	Mon Aug 11 03:27:24 1997 +0000
+++ b/Modules/_tkinter.c	Mon Aug 11 18:57:29 1997 +0000
@@ -1480,7 +1480,7 @@
 init_tkinter()
 {
 #ifndef WIN32
-	extern int (*Py_input_hook) ();
+	extern int (*PyOS_InputHook) ();
 #endif
 	PyObject *m, *d;
 
@@ -1506,8 +1506,8 @@
 	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())