projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71b5fe
)
Ah, the joy of writing test cases...
author
Guido van Rossum
<guido@python.org>
Thu, 30 Aug 2001 15:54:44 +0000
(15:54 +0000)
committer
Guido van Rossum
<guido@python.org>
Thu, 30 Aug 2001 15:54:44 +0000
(15:54 +0000)
long_subtype_new(): fix a typo (type->ob_size instead of
tmp->ob_size).
Objects/longobject.c
patch
|
blob
|
history
diff --git
a/Objects/longobject.c
b/Objects/longobject.c
index ea0685ec1a94f1a4d956d456add8e80cdd431531..25d037752830ce713a4d2c492a22a6b03f2d03d0 100644
(file)
--- a/
Objects/longobject.c
+++ b/
Objects/longobject.c
@@
-2095,7
+2095,7
@@
long_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (new == NULL)
return NULL;
assert(PyLong_Check(new));
- new->ob_size = t
ype
->ob_size;
+ new->ob_size = t
mp
->ob_size;
for (i = 0; i < n; i++)
new->ob_digit[i] = tmp->ob_digit[i];
Py_DECREF(tmp);