File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2912,7 +2912,8 @@ _decimal_Decimal_from_float_impl(PyTypeObject *type, PyObject *pyfloat)
2912
2912
CURRENT_CONTEXT (state , context );
2913
2913
result = PyDecType_FromFloatExact (state -> PyDec_Type , pyfloat , context );
2914
2914
if (type != state -> PyDec_Type && result != NULL ) {
2915
- Py_SETREF (result , PyObject_CallFunctionObjArgs ((PyObject * )type , result , NULL ));
2915
+ Py_SETREF (result ,
2916
+ PyObject_CallFunctionObjArgs ((PyObject * )type , result , NULL ));
2916
2917
}
2917
2918
2918
2919
return result ;
@@ -2976,7 +2977,8 @@ _decimal_Decimal_from_number_impl(PyTypeObject *type, PyObject *number)
2976
2977
CURRENT_CONTEXT (state , context );
2977
2978
result = PyDecType_FromNumberExact (state -> PyDec_Type , number , context );
2978
2979
if (type != state -> PyDec_Type && result != NULL ) {
2979
- Py_SETREF (result , PyObject_CallFunctionObjArgs ((PyObject * )type , result , NULL ));
2980
+ Py_SETREF (result ,
2981
+ PyObject_CallFunctionObjArgs ((PyObject * )type , result , NULL ));
2980
2982
}
2981
2983
2982
2984
return result ;
You can’t perform that action at this time.
0 commit comments