Added missing "math.comb" function, introduced in Python 3.8. (#4489)

This commit is contained in:
Eric Traut
2020-08-28 08:39:24 -07:00
committed by GitHub
parent 2587c93ff8
commit f15db8950e

View File

@@ -26,6 +26,9 @@ if sys.version_info >= (3,):
else:
def ceil(__x: SupportsFloat) -> float: ...
if sys.version_info >= (3, 8):
def comb(__n: int, __k: int) -> int: ...
def copysign(__x: SupportsFloat, __y: SupportsFloat) -> float: ...
def cos(__x: SupportsFloat) -> float: ...
def cosh(__x: SupportsFloat) -> float: ...