]> granicus.if.org Git - python/commitdiff
Fix typo: double semicolons.
authorGuido van Rossum <guido@python.org>
Thu, 30 Aug 2001 03:09:31 +0000 (03:09 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 30 Aug 2001 03:09:31 +0000 (03:09 +0000)
Objects/floatobject.c
Objects/intobject.c

index 295f47e8c6fe49ace8cd5a15f915b9bf2a85bf56..7eb27776f9fc5cbf0deed33109e244f18c682a25 100644 (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;
index 80cdf4b4208b3c81b03918fb38623e6b58ec376c..d1f241d7ed87fff7189393ca54fce612d2d9a160 100644 (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;