Skip to content

Commit 59b1be1

Browse files
Apply suggestions from code review
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 3194384 commit 59b1be1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Modules/intmathmodule.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -681,9 +681,6 @@ intmath.factorial
681681
/
682682
683683
Find n!.
684-
685-
Raise a TypeError if n is not an integer.
686-
Raise a ValueError if n is negative integer.
687684
[clinic start generated code]*/
688685

689686
static PyObject *
@@ -1032,7 +1029,6 @@ to zero when k > n.
10321029
If k is not specified or is None, then k defaults to n
10331030
and the function returns n!.
10341031
1035-
Raises TypeError if either of the arguments are not integers.
10361032
Raises ValueError if either of the arguments are negative.
10371033
[clinic start generated code]*/
10381034

@@ -1126,7 +1122,6 @@ Also called the binomial coefficient because it is equivalent
11261122
to the coefficient of k-th term in polynomial expansion of the
11271123
expression (1 + x)**n.
11281124
1129-
Raises TypeError if either of the arguments are not integers.
11301125
Raises ValueError if either of the arguments are negative.
11311126
11321127
[clinic start generated code]*/

0 commit comments

Comments
 (0)