diff options
author | Guido van Rossum <guido@python.org> | 1995-01-10 20:56:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-10 20:56:29 (GMT) |
commit | a597dde3f1959127c33296a77f76331b59449c01 (patch) | |
tree | 1b41173d59525e5c16ea772aaa60dc0c123dc409 /Modules/_tkinter.c | |
parent | 6c1874fc2bd0e0d2e30de78fe1f1fe8bcf8a20be (diff) | |
download | cpython-a597dde3f1959127c33296a77f76331b59449c01.zip cpython-a597dde3f1959127c33296a77f76331b59449c01.tar.gz cpython-a597dde3f1959127c33296a77f76331b59449c01.tar.bz2 |
cosmetic changes so these modules will work with the strict new naming scheme
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 96a1c93..9675da5 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -744,7 +744,7 @@ Tkapp_DeleteCommand (self, args) /** File Handler **/ -void +static void FileHandler (clientData, mask) ClientData clientData; /* Is: (func, file) */ int mask; @@ -770,7 +770,7 @@ GetFileNo (file) PyObject *file; /* Either an int >= 0 or an object with a .fileno() method that returns an int >= 0 */ { - object *meth, *args, *res; + PyObject *meth, *args, *res; int id; if (PyInt_Check(file)) { id = PyInt_AsLong(file); @@ -933,7 +933,7 @@ Tktt_GetAttr (self, name) static PyTypeObject Tktt_Type = { - OB_HEAD_INIT (&PyType_Type) + PyObject_HEAD_INIT (&PyType_Type) 0, /*ob_size */ "tktimertoken", /*tp_name */ sizeof (TkttObject), /*tp_basicsize */ @@ -1122,7 +1122,7 @@ Tkapp_GetAttr (self, name) static PyTypeObject Tkapp_Type = { - OB_HEAD_INIT (&PyType_Type) + PyObject_HEAD_INIT (&PyType_Type) 0, /*ob_size */ "tkapp", /*tp_name */ sizeof (TkappObject), /*tp_basicsize */ |