mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix typo: double semicolons.
This commit is contained in:
parent
5eef77a21b
commit
d93dce1699
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue