Mercurial > cpython-lru_cache-weakref
diff Modules/zlibmodule.c @ 44351:86a2679dca46
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Wed, 19 Dec 2007 02:45:37 +0000 |
| parents | f324631462a2 |
| children | 6a7fa8421902 |
line wrap: on
line diff
--- a/Modules/zlibmodule.c Wed Dec 19 02:07:34 2007 +0000 +++ b/Modules/zlibmodule.c Wed Dec 19 02:45:37 2007 +0000 @@ -1012,8 +1012,8 @@ PyInit_zlib(void) { PyObject *m, *ver; - Py_Type(&Comptype) = &PyType_Type; - Py_Type(&Decomptype) = &PyType_Type; + Py_TYPE(&Comptype) = &PyType_Type; + Py_TYPE(&Decomptype) = &PyType_Type; m = Py_InitModule4("zlib", zlib_methods, zlib_module_documentation, (PyObject*)NULL,PYTHON_API_VERSION);
