diff mercurial/cext/util.h @ 48913:3aa1b7ded52c

cext: remove inline rewriting of argv This only worked on Python 2. And since we dropped support for Python 2, we can drop support for this functionality. Differential Revision: https://phab.mercurial-scm.org/D12233
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 20 Feb 2022 16:11:21 -0700
parents b0dd39b91e7a
children
line wrap: on
line diff
--- a/mercurial/cext/util.h	Sun Feb 20 16:09:02 2022 -0700
+++ b/mercurial/cext/util.h	Sun Feb 20 16:11:21 2022 -0700
@@ -10,10 +10,6 @@
 
 #include "compat.h"
 
-#if PY_MAJOR_VERSION >= 3
-#define IS_PY3K
-#endif
-
 /* clang-format off */
 typedef struct {
 	PyObject_HEAD