commit | a72d15c97f9837f6c9c6bd476a62175c942cc588 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Sep 13 21:20:29 2017 -0700 |
committer | GitHub <noreply@github.com> | Wed Sep 13 21:20:29 2017 -0700 |
tree | 104b0a1b090a9743e3efcdeae924c3ac9e306f12 | |
parent | 860839cc8e0a4a0890418f77c984955697f96828 [diff] [blame] |
consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 801f286..360ef94 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c
@@ -65,7 +65,7 @@ return DBL_MIN; } -static PyTypeObject FloatInfoType = {0, 0, 0, 0, 0, 0}; +static PyTypeObject FloatInfoType; PyDoc_STRVAR(floatinfo__doc__, "sys.float_info\n\