#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
diff --git a/Modules/md5module.c b/Modules/md5module.c
index 567383a..833eb81 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -340,7 +340,7 @@
{
MD5object *newobj;
- if (Py_Type(self) == &MD5type) {
+ if (Py_TYPE(self) == &MD5type) {
if ( (newobj = newMD5object())==NULL)
return NULL;
} else {
@@ -552,7 +552,7 @@
{
PyObject *m;
- Py_Type(&MD5type) = &PyType_Type;
+ Py_TYPE(&MD5type) = &PyType_Type;
if (PyType_Ready(&MD5type) < 0)
return;
m = Py_InitModule("_md5", MD5_functions);