mercurial/cext/charencode.c
changeset 48821 b0dd39b91e7a
parent 48811 92c430e7e37a
--- a/mercurial/cext/charencode.c	Sun Feb 20 16:13:57 2022 -0700
+++ b/mercurial/cext/charencode.c	Sun Feb 20 16:09:02 2022 -0700
@@ -125,8 +125,7 @@
 {
 	const char *buf;
 	Py_ssize_t i, len;
-	if (!PyArg_ParseTuple(args, PY23("s#:isasciistr", "y#:isasciistr"),
-	                      &buf, &len)) {
+	if (!PyArg_ParseTuple(args, "y#:isasciistr", &buf, &len)) {
 		return NULL;
 	}
 	i = 0;