diff Objects/floatobject.c @ 54777:4c6cdba1b0bb legacy-trunk

add underscores
author Benjamin Peterson <benjamin@python.org>
date Tue, 16 Jun 2009 23:13:09 +0000
parents 119f4232af46
children 7fa14be8ad73
line wrap: on
line diff
--- a/Objects/floatobject.c	Tue Jun 16 20:31:12 2009 +0000
+++ b/Objects/floatobject.c	Tue Jun 16 23:13:09 2009 +0000
@@ -72,7 +72,7 @@
 static PyTypeObject FloatInfoType = {0, 0, 0, 0, 0, 0};
 
 PyDoc_STRVAR(floatinfo__doc__,
-"sys.floatinfo\n\
+"sys.float_info\n\
 \n\
 A structseq holding information about the float type. It contains low level\n\
 information about the precision and internal representation. Please study\n\
@@ -99,7 +99,7 @@
 };
 
 static PyStructSequence_Desc floatinfo_desc = {
-	"sys.floatinfo",	/* name */
+	"sys.float_info",	/* name */
 	floatinfo__doc__,	/* doc */
 	floatinfo_fields,	/* fields */
 	11