mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#11565: Merge with 3.1.
This commit is contained in:
commit
3b3499ba69
93 changed files with 124 additions and 124 deletions
|
@ -11,7 +11,7 @@
|
|||
/* Ensure ob_item has room for at least newsize elements, and set
|
||||
* ob_size to newsize. If newsize > ob_size on entry, the content
|
||||
* of the new slots at exit is undefined heap trash; it's the caller's
|
||||
* responsiblity to overwrite them with sane values.
|
||||
* responsibility to overwrite them with sane values.
|
||||
* The number of allocated elements may grow, shrink, or stay the same.
|
||||
* Failure is impossible if newsize <= self.allocated on entry, although
|
||||
* that partly relies on an assumption that the system realloc() never
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue