--- a/mercurial/cext/base85.c Mon Feb 21 19:51:23 2022 +0000
+++ b/mercurial/cext/base85.c Sun Feb 20 15:40:39 2022 -0700
@@ -177,7 +177,6 @@
static const int version = 1;
-#ifdef IS_PY3K
static struct PyModuleDef base85_module = {
PyModuleDef_HEAD_INIT, "base85", base85_doc, -1, methods,
};
@@ -191,13 +190,3 @@
PyModule_AddIntConstant(m, "version", version);
return m;
}
-#else
-PyMODINIT_FUNC initbase85(void)
-{
- PyObject *m;
- m = Py_InitModule3("base85", methods, base85_doc);
-
- b85prep();
- PyModule_AddIntConstant(m, "version", version);
-}
-#endif