Fix typo: double semicolons.

This commit is contained in:
Guido van Rossum 2001-08-30 03:09:31 +00:00
parent 5eef77a21b
commit d93dce1699
2 changed files with 2 additions and 2 deletions

View file

@ -659,7 +659,7 @@ float_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (tmp == NULL)
return NULL;
assert(PyFloat_Check(tmp));
new = type->tp_alloc(type, 0);;
new = type->tp_alloc(type, 0);
if (new == NULL)
return NULL;
((PyFloatObject *)new)->ob_fval = ((PyFloatObject *)tmp)->ob_fval;

View file

@ -834,7 +834,7 @@ int_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (tmp == NULL)
return NULL;
assert(PyInt_Check(tmp));
new = type->tp_alloc(type, 0);;
new = type->tp_alloc(type, 0);
if (new == NULL)
return NULL;
((PyIntObject *)new)->ob_ival = ((PyIntObject *)tmp)->ob_ival;