]> granicus.if.org Git - python/commitdiff
add underscores
authorBenjamin Peterson <benjamin@python.org>
Tue, 16 Jun 2009 23:13:09 +0000 (23:13 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 16 Jun 2009 23:13:09 +0000 (23:13 +0000)
Objects/floatobject.c

index e11d758805f674ad95d2c28a246978139e54fc04..73d6a1ff417e511811030a474bfcecdafd88396e 100644 (file)
@@ -72,7 +72,7 @@ PyFloat_GetMin(void)
 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_Field floatinfo_fields[] = {
 };
 
 static PyStructSequence_Desc floatinfo_desc = {
-       "sys.floatinfo",        /* name */
+       "sys.float_info",       /* name */
        floatinfo__doc__,       /* doc */
        floatinfo_fields,       /* fields */
        11