File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10078,22 +10078,22 @@ os_times_impl(PyObject *module)
1007810078static PyObject *
1007910079build_itimerspec (const struct itimerspec * curr_value )
1008010080{
10081- double _next_expiration = CONVERT_SEC_AND_NSEC_TO_DOUBLE (curr_value -> it_value .tv_sec ,
10081+ double _value = CONVERT_SEC_AND_NSEC_TO_DOUBLE (curr_value -> it_value .tv_sec ,
1008210082 curr_value -> it_value .tv_nsec );
10083- PyObject * next_expiration = PyFloat_FromDouble (_next_expiration );
10084- if (next_expiration == NULL ) {
10083+ PyObject * value = PyFloat_FromDouble (_value );
10084+ if (value == NULL ) {
1008510085 return NULL ;
1008610086 }
1008710087 double _interval = CONVERT_SEC_AND_NSEC_TO_DOUBLE (curr_value -> it_interval .tv_sec ,
1008810088 curr_value -> it_interval .tv_nsec );
1008910089 PyObject * interval = PyFloat_FromDouble (_interval );
1009010090 if (interval == NULL ) {
10091- Py_DECREF (next_expiration );
10091+ Py_DECREF (value );
1009210092 return NULL ;
1009310093 }
10094- PyObject * tuple = PyTuple_Pack (2 , next_expiration , interval );
10094+ PyObject * tuple = PyTuple_Pack (2 , value , interval );
1009510095 Py_DECREF (interval );
10096- Py_DECREF (next_expiration );
10096+ Py_DECREF (value );
1009710097 return tuple ;
1009810098}
1009910099
You can’t perform that action at this time.
0 commit comments