]> granicus.if.org Git - python/commitdiff
Fix grammar (GH-13801)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 4 Jun 2019 10:40:23 +0000 (03:40 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2019 10:40:23 +0000 (03:40 -0700)
Doc/library/math.rst

index 4a1578972452984a82575877f48afdfa6ad38dfb..28ed5d21f03adb545e6a68ea530eb1f47af0cf6a 100644 (file)
@@ -48,7 +48,7 @@ Number-theoretic and representation functions
    to the coefficient of k-th term in polynomial expansion of the
    expression ``(1 + x) ** n``.
 
-   Raises :exc:`TypeError` if either of the arguments not integers.
+   Raises :exc:`TypeError` if either of the arguments are not integers.
    Raises :exc:`ValueError` if either of the arguments are negative.
 
    .. versionadded:: 3.8
@@ -218,7 +218,7 @@ Number-theoretic and representation functions
    Evaluates to ``n! / (n - k)!`` when ``k <= n`` and evaluates
    to zero when ``k > n``.
 
-   Raises :exc:`TypeError` if either of the arguments not integers.
+   Raises :exc:`TypeError` if either of the arguments are not integers.
    Raises :exc:`ValueError` if either of the arguments are negative.
 
    .. versionadded:: 3.8