summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/floatobject.c2
-rw-r--r--Objects/intobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 295f47e..7eb2777 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 80cdf4b..d1f241d 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;