Skip to content

Commit bd179f5

Browse files
vstinnerwoodruffw
authored andcommitted
pythongh-110850: PyTime_Time() return 0 on success (pythonGH-115713)
Thanks!
1 parent 07ca325 commit bd179f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/pytime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ PyTime_Time(PyTime_t *result)
10531053
*result = 0;
10541054
return -1;
10551055
}
1056-
return 1;
1056+
return 0;
10571057
}
10581058

10591059
int

0 commit comments

Comments
 (0)