From: Benjamin Peterson Date: Tue, 16 Jun 2009 23:13:09 +0000 (+0000) Subject: add underscores X-Git-Tag: v2.7a1~939 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf9ec9ba674c5fe3409b235bd66e9e87fc0bf65c;p=python add underscores --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index e11d758805..73d6a1ff41 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -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