File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1666,14 +1666,6 @@ float___getnewargs___impl(PyObject *self)
16661666 return Py_BuildValue ("(d)" , ((PyFloatObject * )self )-> ob_fval );
16671667}
16681668
1669- /* this is for the benefit of the pack/unpack routines below */
1670- typedef enum _py_float_format_type float_format_type ;
1671- #define ieee_big_endian_format _py_float_format_ieee_big_endian
1672- #define ieee_little_endian_format _py_float_format_ieee_little_endian
1673-
1674- #define float_format (_PyRuntime.float_state.float_format)
1675- #define double_format (_PyRuntime.float_state.double_format)
1676-
16771669
16781670/*[clinic input]
16791671@permit_long_docstring_body
@@ -1697,8 +1689,6 @@ static PyObject *
16971689float___getformat___impl (PyTypeObject * type , const char * typestr )
16981690/*[clinic end generated code: output=2bfb987228cc9628 input=0ae1ba35d192f704]*/
16991691{
1700- float_format_type r ;
1701-
17021692 if (strcmp (typestr , "double" ) != 0 || strcmp (typestr , "float" ) != 0 ) {
17031693 PyErr_SetString (PyExc_ValueError ,
17041694 "__getformat__() argument 1 must be "
You can’t perform that action at this time.
0 commit comments