summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2021-05-29 22:49:31 (GMT)
committerGitHub <noreply@github.com>2021-05-29 22:49:31 (GMT)
commit5ffa58cb97ddc6d36c8c2c94d86d58aac95406b7 (patch)
tree8004f6e3be7877b1382968d3ae0f3866d14c8ced
parent5f28752f5b51a1866f2428eeaf6082266723c78d (diff)
downloadcpython-5ffa58cb97ddc6d36c8c2c94d86d58aac95406b7.zip
cpython-5ffa58cb97ddc6d36c8c2c94d86d58aac95406b7.tar.gz
cpython-5ffa58cb97ddc6d36c8c2c94d86d58aac95406b7.tar.bz2
Trivial change in fractions module docs: real -> rational numbers (GH-25009)
Obviously, the former was a little misleading: not only rationals may be considered as "infinite-precision, real numbers" - but, for example, any real finite extension of the rationals.
-rw-r--r--Lib/fractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fractions.py b/Lib/fractions.py
index 64a8959..66e6831 100644
--- a/Lib/fractions.py
+++ b/Lib/fractions.py
@@ -1,7 +1,7 @@
# Originally contributed by Sjoerd Mullender.
# Significantly modified by Jeffrey Yasskin <jyasskin at gmail.com>.
-"""Fraction, infinite-precision, real numbers."""
+"""Fraction, infinite-precision, rational numbers."""
from decimal import Decimal
import math