mercurial/cext/bdiff.c
changeset 48810 ed03fffaac30
parent 46819 d4ba4d51f85f
child 48821 b0dd39b91e7a
--- a/mercurial/cext/bdiff.c	Mon Feb 21 19:51:23 2022 +0000
+++ b/mercurial/cext/bdiff.c	Sun Feb 20 15:40:39 2022 -0700
@@ -337,7 +337,6 @@
 
 static const int version = 3;
 
-#ifdef IS_PY3K
 static struct PyModuleDef bdiff_module = {
     PyModuleDef_HEAD_INIT, "bdiff", mdiff_doc, -1, methods,
 };
@@ -349,11 +348,3 @@
 	PyModule_AddIntConstant(m, "version", version);
 	return m;
 }
-#else
-PyMODINIT_FUNC initbdiff(void)
-{
-	PyObject *m;
-	m = Py_InitModule3("bdiff", methods, mdiff_doc);
-	PyModule_AddIntConstant(m, "version", version);
-}
-#endif