From: Guido van Rossum Date: Thu, 30 Aug 2001 03:09:31 +0000 (+0000) Subject: Fix typo: double semicolons. X-Git-Tag: v2.2a3~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d93dce1699ed40efdd2f69c18861eba2fa8806f3;p=python Fix typo: double semicolons. --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 295f47e8c6..7eb27776f9 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -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; diff --git a/Objects/intobject.c b/Objects/intobject.c index 80cdf4b420..d1f241d7ed 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -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;