diff options
author | Guido van Rossum <guido@python.org> | 1993-11-05 10:16:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-11-05 10:16:27 (GMT) |
commit | 32be3a7a88fd2aae37cdd250f547c0687312c152 (patch) | |
tree | 7368c7dedd0c6e3d88672cda07a33b929477524e /Modules | |
parent | 094885b0f094d8fabffaf5c549f206484dccdc03 (diff) | |
download | cpython-32be3a7a88fd2aae37cdd250f547c0687312c152.zip cpython-32be3a7a88fd2aae37cdd250f547c0687312c152.tar.gz cpython-32be3a7a88fd2aae37cdd250f547c0687312c152.tar.bz2 |
Fix stupib bug in concatenation
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 3f7e163..248e431 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -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_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; #undef b } |