summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 03:09:31 +0000
committerGuido van Rossum <guido@python.org>2001-08-30 03:09:31 +0000
commitd93dce1699ed40efdd2f69c18861eba2fa8806f3 (patch)
tree57874831ca64f0cc515be7c50c00da689eb1d833
parent5eef77a21be8a7895419cc84e8bf5554ca908b54 (diff)
downloadcpython-git-d93dce1699ed40efdd2f69c18861eba2fa8806f3.tar.gz
Fix typo: double semicolons.
-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 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;