changeset 36620 | 186c6df3a373 |
parent 36619 | 1f8c3fadbb8e |
child 36621 | 4015b9248da0 |
--- a/mercurial/cext/revlog.c Sat Mar 03 06:08:22 2018 -0500 +++ b/mercurial/cext/revlog.c Sat Mar 03 06:18:47 2018 -0500 @@ -1243,7 +1243,7 @@ char *node; int rev, i; - if (!PyArg_ParseTuple(args, "s#", &node, &nodelen)) + if (!PyArg_ParseTuple(args, PY23("s#", "y#"), &node, &nodelen)) return NULL; if (nodelen < 4) {