mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Issue #25270: Merge from 3.5
This commit is contained in:
commit
7b4bcd2004
4 changed files with 38 additions and 6 deletions
|
@ -198,5 +198,5 @@ called with a non-bytes parameter.
|
|||
desired. On success, *\*bytes* holds the resized bytes object and ``0`` is
|
||||
returned; the address in *\*bytes* may differ from its input value. If the
|
||||
reallocation fails, the original bytes object at *\*bytes* is deallocated,
|
||||
*\*bytes* is set to *NULL*, a memory exception is set, and ``-1`` is
|
||||
*\*bytes* is set to *NULL*, :exc:`MemoryError` is set, and ``-1`` is
|
||||
returned.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue