Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0301c9b

Browse files
taschiniserhiy-storchaka
authored andcommitted
Fix typo and edit for clarity in the docstrings of sys.float_info. (pythonGH-2251)
1 parent 3ab44c0 commit 0301c9b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Objects/floatobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/* Float object implementation */
32

43
/* XXX There should be overflow checks here, but it's hard to check
@@ -54,7 +53,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
5453
"is representable"},
5554
{"max_10_exp", "DBL_MAX_10_EXP -- maximum int e such that 10**e "
5655
"is representable"},
57-
{"min", "DBL_MIN -- Minimum positive normalizer float"},
56+
{"min", "DBL_MIN -- Minimum positive normalized float"},
5857
{"min_exp", "DBL_MIN_EXP -- minimum int e such that radix**(e-1) "
5958
"is a normalized float"},
6059
{"min_10_exp", "DBL_MIN_10_EXP -- minimum int e such that 10**e is "
@@ -64,7 +63,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
6463
{"epsilon", "DBL_EPSILON -- Difference between 1 and the next "
6564
"representable float"},
6665
{"radix", "FLT_RADIX -- radix of exponent"},
67-
{"rounds", "FLT_ROUNDS -- addition rounds"},
66+
{"rounds", "FLT_ROUNDS -- rounding mode"},
6867
{0}
6968
};
7069

0 commit comments

Comments
 (0)