mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Issue #16305: Merge fix from 3.2.
This commit is contained in:
commit
039e0cdc28
2 changed files with 6 additions and 4 deletions
|
@ -1381,14 +1381,13 @@ factorial_odd_part(unsigned long n)
|
|||
Py_DECREF(outer);
|
||||
outer = tmp;
|
||||
}
|
||||
|
||||
goto done;
|
||||
Py_DECREF(inner);
|
||||
return outer;
|
||||
|
||||
error:
|
||||
Py_DECREF(outer);
|
||||
done:
|
||||
Py_DECREF(inner);
|
||||
return outer;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Lookup table for small factorial values */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue