mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Fix stupib bug in concatenation
This commit is contained in:
parent
094885b0f0
commit
32be3a7a88
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ array_concat(a, bb)
|
||||||
}
|
}
|
||||||
memcpy(np->ob_item, a->ob_item, a->ob_size*a->ob_descr->itemsize);
|
memcpy(np->ob_item, a->ob_item, a->ob_size*a->ob_descr->itemsize);
|
||||||
memcpy(np->ob_item + a->ob_size*a->ob_descr->itemsize,
|
memcpy(np->ob_item + a->ob_size*a->ob_descr->itemsize,
|
||||||
a->ob_item, a->ob_size*a->ob_descr->itemsize);
|
b->ob_item, b->ob_size*b->ob_descr->itemsize);
|
||||||
return (object *)np;
|
return (object *)np;
|
||||||
#undef b
|
#undef b
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue