mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#11515: Merge with 3.1.
This commit is contained in:
commit
4969f709cc
49 changed files with 58 additions and 58 deletions
|
@ -2221,7 +2221,7 @@ bytearray_extend(PyByteArrayObject *self, PyObject *arg)
|
|||
if (it == NULL)
|
||||
return NULL;
|
||||
|
||||
/* Try to determine the length of the argument. 32 is abitrary. */
|
||||
/* Try to determine the length of the argument. 32 is arbitrary. */
|
||||
buf_size = _PyObject_LengthHint(arg, 32);
|
||||
if (buf_size == -1) {
|
||||
Py_DECREF(it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue