Commit d93dce16 authored by Guido van Rossum's avatar Guido van Rossum

Fix typo: double semicolons.

parent 5eef77a2
...@@ -659,7 +659,7 @@ float_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds) ...@@ -659,7 +659,7 @@ float_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (tmp == NULL) if (tmp == NULL)
return NULL; return NULL;
assert(PyFloat_Check(tmp)); assert(PyFloat_Check(tmp));
new = type->tp_alloc(type, 0);; new = type->tp_alloc(type, 0);
if (new == NULL) if (new == NULL)
return NULL; return NULL;
((PyFloatObject *)new)->ob_fval = ((PyFloatObject *)tmp)->ob_fval; ((PyFloatObject *)new)->ob_fval = ((PyFloatObject *)tmp)->ob_fval;
......
...@@ -834,7 +834,7 @@ int_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds) ...@@ -834,7 +834,7 @@ int_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (tmp == NULL) if (tmp == NULL)
return NULL; return NULL;
assert(PyInt_Check(tmp)); assert(PyInt_Check(tmp));
new = type->tp_alloc(type, 0);; new = type->tp_alloc(type, 0);
if (new == NULL) if (new == NULL)
return NULL; return NULL;
((PyIntObject *)new)->ob_ival = ((PyIntObject *)tmp)->ob_ival; ((PyIntObject *)new)->ob_ival = ((PyIntObject *)tmp)->ob_ival;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment