mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
fix instances of consecutive articles (closes #23221)
Patch by Karan Goel.
This commit is contained in:
parent
38dc250521
commit
82f34ada45
14 changed files with 14 additions and 13 deletions
|
|
@ -4830,7 +4830,7 @@ Pointer_set_contents(CDataObject *self, PyObject *value, void *closure)
|
|||
*(void **)self->b_ptr = dst->b_ptr;
|
||||
|
||||
/*
|
||||
A Pointer instance must keep a the value it points to alive. So, a
|
||||
A Pointer instance must keep the value it points to alive. So, a
|
||||
pointer instance has b_length set to 2 instead of 1, and we set
|
||||
'value' itself as the second item of the b_objects list, additionally.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue