mercurial/cext/parsers.c
changeset 36648 1f8c3fadbb8e
parent 35318 d13526333835
child 36649 186c6df3a373
--- a/mercurial/cext/parsers.c	Sat Mar 03 05:58:41 2018 -0500
+++ b/mercurial/cext/parsers.c	Sat Mar 03 06:08:22 2018 -0500
@@ -254,7 +254,7 @@
 		goto quit;
 	}
 
-	parents = Py_BuildValue("s#s#", str, 20, str + 20, 20);
+	parents = Py_BuildValue(PY23("s#s#", "y#y#"), str, 20, str + 20, 20);
 	if (!parents)
 		goto quit;