mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
parent
0611c26a58
commit
ffcf1a54d3
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue