Skip to content

Commit

Permalink
pythongh-110850: PyTime_Time() return 0 on success
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Feb 20, 2024
1 parent dcba21f commit e785d7e
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 e785d7e

Please sign in to comment.