Oops, revert unwanted change used to create an example

Issue #26564.
This commit is contained in:
Victor Stinner 2016-03-15 22:49:40 +01:00
parent 0611c26a58
commit ffcf1a54d3
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}