diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-15 21:49:40 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-15 21:49:40 (GMT) |
commit | ffcf1a54d39fcb2b9f9830b64708c423c2c4a18d (patch) | |
tree | e677e4c08cb9dda545746dedc5d6da11a2a6438d /Objects | |
parent | 0611c26a58a937dace420691e797fbea21db619b (diff) | |
download | cpython-ffcf1a54d39fcb2b9f9830b64708c423c2c4a18d.zip cpython-ffcf1a54d39fcb2b9f9830b64708c423c2c4a18d.tar.gz cpython-ffcf1a54d39fcb2b9f9830b64708c423c2c4a18d.tar.bz2 |
Oops, revert unwanted change used to create an example
Issue #26564.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/bytearrayobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index 67ae7d9..9e8ba39 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -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); } |