]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34838: Use subclass_of for math.dist. (GH-9659)
authorAmmar Askar <ammar_askar@hotmail.com>
Sat, 12 Jan 2019 06:23:41 +0000 (01:23 -0500)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 12 Jan 2019 06:23:41 +0000 (08:23 +0200)
commitcb08a71c5c534f33d9486677534dafb087c30e8c
tree19b46ba5dda5c870c2a2f8614e19e3831e5f3ec8
parentfdf282d609fd172d52b59a6f1f062eb701494528
bpo-34838: Use subclass_of for math.dist. (GH-9659)

Argument clinic now generates fast inline code for
positional parsing, so the manually implemented type
check in math.dist can be removed.
Lib/test/test_math.py
Modules/clinic/mathmodule.c.h
Modules/mathmodule.c