Commit 89e0a1c1 authored by Victor Stinner's avatar Victor Stinner

Oops, revert unwanted change used to create an example

Issue #26564.
parent c8b711fb
......@@ -2820,7 +2820,6 @@ bytearray_hex(PyBytesObject *self)
{
char* argbuf = PyByteArray_AS_STRING(self);
Py_ssize_t arglen = PyByteArray_GET_SIZE(self);
PyByteArray_AS_STRING(self)[arglen+1] = 2;
return _Py_strhex(argbuf, arglen);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment