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.
P
Pablo Galindo committed
e9ba3705de656215d52b8f8f4a2e7ad60190e944
Parent: 65fc98e
Committed by GitHub <noreply@github.com>
on 9/3/2018, 9:20:06 PM