From e785d7ed869b4fb3bcbf2397b9fc3314f9727720 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 20 Feb 2024 14:11:36 +0100 Subject: [PATCH] gh-110850: PyTime_Time() return 0 on success --- Python/pytime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/pytime.c b/Python/pytime.c index fb0ed85c541e68..8b3c7128aae3bc 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -1053,7 +1053,7 @@ PyTime_Time(PyTime_t *result) *result = 0; return -1; } - return 1; + return 0; } int