summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-09-03 22:20:06 +0100
committerGitHub <noreply@github.com>2018-09-03 22:20:06 +0100
commite9ba3705de656215d52b8f8f4a2e7ad60190e944 (patch)
treefd2e22464103a3a36efd27788e02c697b199b43a /Python/Python-ast.c
parent65fc98e7b1f62c2e621f04780a3a77c3498cc195 (diff)
downloadcpython-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