Skip to content

Commit

Permalink
pythongh-110850: PyTime_Time() return 0 on success (pythonGH-115713)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
vstinner authored and woodruffw committed Mar 4, 2024
1 parent 07ca325 commit bd179f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/pytime.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ PyTime_Time(PyTime_t *result)
*result = 0;
return -1;
}
return 1;
return 0;
}

int
Expand Down

0 comments on commit bd179f5

Please sign in to comment.