parent
0611c26a58
commit
ffcf1a54d3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue