diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2018-09-03 22:20:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-03 22:20:06 +0100 |
commit | e9ba3705de656215d52b8f8f4a2e7ad60190e944 (patch) | |
tree | fd2e22464103a3a36efd27788e02c697b199b43a /Python/Python-ast.c | |
parent | 65fc98e7b1f62c2e621f04780a3a77c3498cc195 (diff) | |
download | cpython-git-e9ba3705de656215d52b8f8f4a2e7ad60190e944.tar.gz |
bpo-33083 - Make math.factorial reject arguments that are not int-like (GH-6149)
math.factorial() was accepting non-integral Decimal instances. This is inconsistent with the actual behaviour for floats, which are not accepted.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions