mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Remove trailing spaces. (GH-28706)
This commit is contained in:
parent
dc878240dc
commit
a5a56154f1
5 changed files with 6 additions and 6 deletions
|
@ -150,7 +150,7 @@ static PyMethodDef tokenize_methods[] = {
|
|||
};
|
||||
|
||||
static PyModuleDef_Slot tokenizemodule_slots[] = {
|
||||
{Py_mod_exec, tokenizemodule_exec},
|
||||
{Py_mod_exec, tokenizemodule_exec},
|
||||
{0, NULL}
|
||||
};
|
||||
|
||||
|
|
|
@ -2485,7 +2485,7 @@ builtin_sum_impl(PyObject *module, PyObject *iterable, PyObject *start)
|
|||
switch (Py_SIZE(item)) {
|
||||
case -1: b = -(sdigit) ((PyLongObject*)item)->ob_digit[0]; break;
|
||||
// Note: the continue goes to the top of the "while" loop that iterates over the elements
|
||||
case 0: Py_DECREF(item); continue;
|
||||
case 0: Py_DECREF(item); continue;
|
||||
case 1: b = ((PyLongObject*)item)->ob_digit[0]; break;
|
||||
default: b = PyLong_AsLongAndOverflow(item, &overflow); break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue