Skip to content

Commit 0f385a5

Browse files
Update documentation.
1 parent badeb5c commit 0f385a5

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Doc/library/math.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -721,16 +721,16 @@ Number-theoretic functions
721721
--------------------------
722722

723723
For backward compatibility, the :mod:`math` module provides also aliases of
724-
the following functions from the :mod:`math.integer` module.
725-
They are :term:`soft deprecated`.
724+
the following functions from the :mod:`math.integer` module:
726725

727-
.. list-table:: **Number-theoretic functions**
726+
.. list-table::
728727

729728
* - .. function:: comb(n, k)
730729
:no-typesetting:
731730

732731
:func:`comb(n, k) <math.integer.comb>`
733-
- Number of ways to choose *k* items from *n* items without repetition and without order
732+
- Number of ways to choose *k* items from *n* items without repetition
733+
and without order
734734

735735
* - .. function:: factorial(n)
736736
:no-typesetting:
@@ -760,7 +760,8 @@ They are :term:`soft deprecated`.
760760
:no-typesetting:
761761

762762
:func:`perm(n, k) <math.integer.perm>`
763-
- Number of ways to choose *k* items from *n* items without repetition and with order
763+
- Number of ways to choose *k* items from *n* items without repetition
764+
and with order
764765

765766
.. versionadded:: 3.5
766767
The :func:`gcd` function.
@@ -780,6 +781,10 @@ They are :term:`soft deprecated`.
780781
Floats with integral values (like ``5.0``) are no longer accepted in the
781782
:func:`factorial` function.
782783

784+
.. deprecated:: next
785+
These aliases are :term:`soft deprecated` in favor of the
786+
:mod:`math.integer` functions.
787+
783788

784789
Constants
785790
---------

0 commit comments

Comments
 (0)